New submission from Philipp Hagemeister <phi...@phihag.de>: >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. ---------- assignee: georg.brandl components: Documentation files: aton-doc.diff keywords: patch messages: 87076 nosy: georg.brandl, phihag severity: normal status: open title: Wrong function referenced in documentation of socket.inet_aton type: behavior versions: Python 2.7, Python 3.1 Added file: http://bugs.python.org/file13858/aton-doc.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5916> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com