[issue46337] urllib.parse: Allow more flexibility in schemes and URL resolution behavior

Éric Araujo report at bugs.python.org
Sat Feb 12 06:47:38 EST 2022


Éric Araujo <merwok at netwok.org> added the comment:

In my idea it would not be a list of things that you have to pass piecemeal to request specific behaviour, but another function or a new param (like `parse(string, universal=True)`) that implements universal parsing.

We could even handle things like #22852 in that mode (although ironically, correct behaviour for that requires having a registry of schemes).

----------

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


More information about the Python-bugs-list mailing list