This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author op368
Recipients Jeremy.Hylton, maggyero, nicktimko, op368, orsenthil
Date 2020-06-10.11:21:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1591788107.49.0.962275791902.issue37969@roundup.psfhosted.org>
In-reply-to
Content
This is a duplicate of issue22852 ('urllib.parse wrongly strips empty #fragment, ?query, //netloc').

Also note that three alternative solutions have already proposed.

(1) Add 'None' type to Result objects members like this one.

    But it is considering not only query and fragment, but also netloc,
    which may solve many other issues.

(2) Add 'has_netloc', 'has_query' and 'has_fragment' attribute.

(3) like (1), but conditional on 'allow_none' argument (similar to 'allow_fragments')
History
Date User Action Args
2020-06-10 11:21:47op368setrecipients: + op368, orsenthil, Jeremy.Hylton, nicktimko, maggyero
2020-06-10 11:21:47op368setmessageid: <1591788107.49.0.962275791902.issue37969@roundup.psfhosted.org>
2020-06-10 11:21:47op368linkissue37969 messages
2020-06-10 11:21:47op368create