[issue27485] urllib.splitport -- is it official or not?
Senthil Kumaran
report at bugs.python.org
Sat Jul 16 00:05:27 EDT 2016
Senthil Kumaran added the comment:
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()
----------
nosy: +orsenthil
versions: -Python 3.2, Python 3.3, Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27485>
_______________________________________
More information about the Python-bugs-list
mailing list