[issue9682] socket.create_connection error message for domain subpart with invalid length is very confusing
Mike Milkin
report at bugs.python.org
Tue Apr 23 03:02:44 CEST 2013
Mike Milkin added the comment:
There are a few of interesting parts.
1.) I noticed that the ToASCII class is not tested.
2.) I had some unreachable branches due to concatenation of constant variable ace_prefix.
3) I also found it weird that we only check the max of labels[-1], but decided to perserve the original functionality.
----------
Added file: http://bugs.python.org/file29984/Issue9682.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9682>
_______________________________________
More information about the Python-bugs-list
mailing list