[issue27136] sock_connect fails for bluetooth (and probably others)
Guido van Rossum
report at bugs.python.org
Sat May 28 10:43:00 EDT 2016
Guido van Rossum added the comment:
> Why validate at all?
Because (at least for the IP 4/6 protocols) when you give a host name
Python's socket code will do a synchronous DNS lookup which would hold
up the entire event loop until it's done. This would be a major
problem in some cases, so we want to disallow it completely.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27136>
_______________________________________
More information about the Python-bugs-list
mailing list