[issue20215] Python2.7 socketserver can not listen IPv6 address

Andreas Røsdal report at bugs.python.org
Sun May 4 00:02:09 CEST 2014


Andreas Røsdal added the comment:

Here's a patch which implements support in SocketServer to set IPv6 socket address family to AF_INET6 automatically if the TCPServer is specified to listen to an IPv6 address. This means that users of the TCPServer class will get the correct address family automatically for both IPv4 and IPv6 based on the IP address they specify, and hopefully this will be more userfriendly. The patch is against the latest Python 3.5.

Note that this is my first patch to the Python project, I hope I did everything correct.

----------
keywords: +patch
nosy: +andreasr
Added file: http://bugs.python.org/file35147/issue20215_socketserver.patch

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


More information about the Python-bugs-list mailing list