[issue33034] urllib.parse.urlparse and urlsplit not raising ValueError for bad port

Eric V. Smith report at bugs.python.org
Sat Mar 17 08:25:15 EDT 2018


Eric V. Smith <eric at trueblade.com> added the comment:

For backward comparability, option C would have to default to not raising an exception. Which would limit it's usefulness, but that's the way it goes.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33034>
_______________________________________


More information about the Python-bugs-list mailing list