Message413066
| Author |
eric.araujo |
| Recipients |
brett.cannon, eric.araujo, lincolnauster, lukasz.langa, orsenthil |
| Date |
2022年02月11日.12:56:26 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1644584186.33.0.260301575851.issue46337@roundup.psfhosted.org> |
| In-reply-to |
| Content |
I remember a discussion about this years ago.
urllib is a module that pre-dates the idea of universal parsing for URIs, where the delimiters (like ://) are enough to determine the parts of a URI and give them meaning (host, port, user, path, etc).
Backward compat for urllib is always a concern; someone said at the time that it could be good to have a new module for modern, generic parsing, but that hasn’t happened. Maybe a new parse function, or new parameter to the existing one, could be easier to add. |
|