New submission from JTMoon79 :
urlsplit function from urllib.parse.urlsplit does not return the port field.
Repro steps
>>> import urllib
>>> import urllib.parse
>>> urllib.parse.urlsplit(r'http://foo.bar.com:80/blarg?a=1&b=2')
RETURNS:
SplitResult(sch
New submission from JTMoon79 :
Copy of issue 10696
This issue is exactly the same as issue 10696 except it affects a different
function, urllib.parse.urlparse (instead of urllib.parse.urlsplit).
urlparse function from urllib.parse.urlparse does not return the port field.
REPRO STEPS
JTMoon79 added the comment:
see comments at http://bugs.python.org/issue10697#msg123898
--
___
Python tracker
<http://bugs.python.org/issue10696>
___
___
Pytho
JTMoon79 added the comment:
Doh! I feel a bit silly.
I didn't notice 'hostname' and 'port' in
>>> dir(urllib.parse.urlparse(r'http://foo.bar.com:80/blarg?a=1&b=2'))
[... 'count', 'fragment', 'geturl', 'ho