[issue20271] urllib.parse.urlparse() accepts wrong URLs

Serhiy Storchaka report at bugs.python.org
Tue Jan 21 18:14:26 CET 2014


Serhiy Storchaka added the comment:

What should be correct behavior? Raise an exception, return '[::1]spam' as hostname, or left all as is?

----------

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


More information about the Python-bugs-list mailing list