[issue22852] urllib.parse wrongly strips empty #fragment, ?query, //netloc

Martin Panter report at bugs.python.org
Sat Aug 4 19:48:49 EDT 2018


Martin Panter <vadmium+py at gmail.com> added the comment:

I like this option. I suppose choosing which option to take is a compromise between compatiblity and simplicity. In the short term, the “allows_none” option requires user code to be updated. In the long term it may break compatibility. But the “has_netloc” etc option is more complex.

----------

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


More information about the Python-bugs-list mailing list