[issue46337] urllib.parse: Allow more flexibility in schemes and URL resolution behavior
Éric Araujo
report at bugs.python.org
Fri Feb 11 07:56:26 EST 2022
Éric Araujo <merwok at netwok.org> added the comment:
I remember a discussion about this years ago.
urllib is a module that pre-dates the idea of universal parsing for URIs, where the delimiters (like ://) are enough to determine the parts of a URI and give them meaning (host, port, user, path, etc).
Backward compat for urllib is always a concern; someone said at the time that it could be good to have a new module for modern, generic parsing, but that hasn’t happened. Maybe a new parse function, or new parameter to the existing one, could be easier to add.
----------
nosy: +brett.cannon, eric.araujo, lukasz.langa, orsenthil
versions: +Python 3.11
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46337>
_______________________________________
More information about the Python-bugs-list
mailing list