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 <rep...@bugs.python.org> <http://bugs.python.org/issue20215> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com