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 <1468284694.69.0.644779729212.issue27485@psf.upfronthosting.co.za>
In-reply-to
Content
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.?)
History
Date User Action Args
2016-07-12 00:51:34gvanrossumsetrecipients: + gvanrossum, martin.panter, serhiy.storchaka
2016-07-12 00:51:34gvanrossumsetmessageid: <1468284694.69.0.644779729212.issue27485@psf.upfronthosting.co.za>
2016-07-12 00:51:34gvanrossumlinkissue27485 messages
2016-07-12 00:51:32gvanrossumcreate