[issue43883] Making urlparse WHATWG conformant

Gregory P. Smith report at bugs.python.org
Tue May 4 21:34:26 EDT 2021


Gregory P. Smith <greg at krypto.org> added the comment:

FWIW rather than implementing our own URL parsing at all... wrapping a library extracted from a compatible-license major browser (Chromium or Firefox) and keeping it updated would avoid disparities.

Unfortunately, I'm not sure how feasible this really is.  Do all of the API surfaces we must support in the stdlib for compatibility's sake with urllib line up with such a browser core URL parsing library?

Something to ponder.  Unlikely something we'll actually do.

----------

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


More information about the Python-bugs-list mailing list