Irit Katriel <[email protected]> added the comment:
Sorry, urlparse returns '' rather than None when there is no query.
So we indeed need to check something like
if '?' not in url:
or what's in Paul's patch.
However, my main point was to question whether fixing this is actually in
contradiction with the RFC.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue32779>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com