Message371180
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') |
|
Date |
User |
Action |
Args |
2020-06-10 11:21:47 | op368 | set | recipients:
+ op368, orsenthil, Jeremy.Hylton, nicktimko, maggyero |
2020-06-10 11:21:47 | op368 | set | messageid: <1591788107.49.0.962275791902.issue37969@roundup.psfhosted.org> |
2020-06-10 11:21:47 | op368 | link | issue37969 messages |
2020-06-10 11:21:47 | op368 | create | |
|