Message270218
Aha. I see you are referring to this note in the 2.7 docs for urllib:
urllib also exposes certain utility functions like splittype, splithost and
others parsing URL into various components. But it is recommended to use
:mod:`urlparse` for parsing URLs rather than using these functions directly.
Python 3 does not expose these helper functions from :mod:`urllib.parse`
module.
This is somewhat ironic because those functions still exist in urllib.parse.
I've rewritten my code using your suggestions of using urllib.parse.urlparse().
Shall we just close this issue or is there still an action item? (Maybe actually delete those functions whose deletion has been promised so long ago, or at least rename them to _splitport() etc.?) |
|
Date |
User |
Action |
Args |
2016-07-12 00:51:34 | gvanrossum | set | recipients:
+ gvanrossum, martin.panter, serhiy.storchaka |
2016-07-12 00:51:34 | gvanrossum | set | messageid: <1468284694.69.0.644779729212.issue27485@psf.upfronthosting.co.za> |
2016-07-12 00:51:34 | gvanrossum | link | issue27485 messages |
2016-07-12 00:51:32 | gvanrossum | create | |
|