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

R. David Murray report at bugs.python.org
Wed Nov 19 15:29:19 CET 2014


R. David Murray added the comment:

Andreas: I would prefer to avoid a dependency on the ipaddress module.  I would suggest adding an address_family constructor argument that defaults to None, where a value of None would mean "just pass the server_address to bind (or getaddrinfo?) and find out what the resulting family is".  I'm not exactly a socket programming expert, though, so there may be a reason I'm not aware of that that won't work well.

Carlos: no, this is a new feature, so it can go into 3.5 only at this point.

----------

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


More information about the Python-bugs-list mailing list