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 gvanrossum
Recipients gvanrossum, martin.panter, serhiy.storchaka
Date 2016-07-12.00:51:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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`

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:34gvanrossumsetrecipients: + gvanrossum, martin.panter, serhiy.storchaka
2016-07-12 00:51:34gvanrossumsetmessageid: <>
2016-07-12 00:51:34gvanrossumlinkissue27485 messages
2016-07-12 00:51:32gvanrossumcreate