This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author phihag
Recipients georg.brandl, phihag
Date 2009-05-03.22:03:13
SpamBayes Score 2.1384138e-05
Marked as misclassified No
Message-id <1241388198.89.0.66136453957.issue5916@psf.upfronthosting.co.za>
In-reply-to
Content
From the documentation of socket.inet_aton (and socket.inet_ntoa):

"inet_aton() does not support IPv6, and getnameinfo() should be used
instead for IPv4/v6 dual stack support."

socket.getnameinfo can not replace inet_aton/inet_ntoa at all. However,
inet_pton and inet_ntop can (and do support IPv6). Therefore, the
attached patch changes the getnameinfo references to inet_pton and
inet_ntop.
History
Date User Action Args
2009-05-03 22:03:19phihagsetrecipients: + phihag, georg.brandl
2009-05-03 22:03:18phihagsetmessageid: <1241388198.89.0.66136453957.issue5916@psf.upfronthosting.co.za>
2009-05-03 22:03:16phihaglinkissue5916 messages
2009-05-03 22:03:15phihagcreate