[issue28841] urlparse.urlparse() parses invalid URI without generating an error (examples provided)
Eric V. Smith
report at bugs.python.org
Wed Nov 30 19:41:28 EST 2016
Eric V. Smith added the comment:
And note that there are tests that explicitly check that the colon with no port works (via issue 20270).
Given that this behavior has been around for a while, and is explicitly allowed, I would recommend against changing this to an error.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28841>
_______________________________________
More information about the Python-bugs-list
mailing list