[issue22852] urllib.parse wrongly strips empty #fragment, ?query, //netloc
Open Close
report at bugs.python.org
Wed Jun 10 07:24:18 EDT 2020
Open Close <openandclose23 at gmail.com> added the comment:
I found another related issue (issue37969).
I also filed one myself (issue 40938).
---
One thing against the 'has_netloc' etc. solution is that
while it guarantees round-trips (urlunsplit(urlsplit('...')) etc.),
it is conditional on 'urlunsplit' getting 'SplitResult' object.
When 'urlunsplit' gets a normal tuple, it is helpless.
----------
nosy: +op368
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue22852>
_______________________________________
More information about the Python-bugs-list
mailing list