[issue1008086] patch for 767150

Daniel Diniz report at bugs.python.org
Thu Feb 12 00:04:40 CET 2009


Daniel Diniz <ajaksu at gmail.com> added the comment:

Test from issue 767150:
"""
socket.inet_aton() returns an 8 byte string when built 
on Linux/IA64. This should be 4 bytes on all 
architectures. Example:

>>> import socket
>>> socket.inet_aton('192.168.2.1')
'\xc0\xa8\x02\x01\x00\x00\x00\x00'
"""

The bug was confirmed by a third-party in 2006:
http://mail.python.org/pipermail/python-list/2006-August/400655.html

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1008086>
_______________________________________


More information about the Python-bugs-list mailing list