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 orsenthil
Recipients brett.cannon, gvanrossum, martin.panter, orsenthil, serhiy.storchaka
Date 2016-07-16.04:05:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1468641927.84.0.164849120938.issue27485@psf.upfronthosting.co.za>
In-reply-to
Content
I think that we use encourage everyone to use the higher level functions like urlparse() or urlsplit() and then get the .port from the named tuple result.

Two things to do.

1. Update that Note the documentation which states a false statement that those helper functions are not exposed in urllib.parse

2. Raise a DeprecationWarning and rename them to _splitport()
History
Date User Action Args
2016-07-16 04:05:27orsenthilsetrecipients: + orsenthil, gvanrossum, brett.cannon, martin.panter, serhiy.storchaka
2016-07-16 04:05:27orsenthilsetmessageid: <1468641927.84.0.164849120938.issue27485@psf.upfronthosting.co.za>
2016-07-16 04:05:27orsenthillinkissue27485 messages
2016-07-16 04:05:27orsenthilcreate