[ python-Bugs-921898 ] socket_htons does not work under AIX 64-bit

SourceForge.net noreply at sourceforge.net
Tue Mar 23 13:00:03 EST 2004


Bugs item #921898, was opened at 2004-03-23 13:00
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=921898&group_id=5470

Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: John Marshall (john_marshall)
Assigned to: Nobody/Anonymous (nobody)
Summary: socket_htons does not work under AIX 64-bit

Initial Comment:
The socket tests fail for htons under AIX when Python 
is compiled for 64 bits (OBJECTMODE=64). It seems 
that this is easily (?) fixed if the socket_htons() 
code is modified to be close to the socket_ntohs() 
code in Modules/socketmodule.c. 
 
Please see the attachment for the change I did which 
allows the socketmodule.c to function as expected. 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=921898&group_id=5470



More information about the Python-bugs-list mailing list