[issue10697] host and port attributes not documented well in function urllib.parse.urlparse and urlsplit

2016-07-13 Thread Senthil Kumaran
Senthil Kumaran added the comment: I am unsure of the change too. I am willing to close this report as .port attribute is already documented. -- resolution: -> not a bug stage: needs patch -> resolved status: pending -> closed ___ Python tracker

[issue10697] host and port attributes not documented well in function urllib.parse.urlparse and urlsplit

2016-07-10 Thread Martin Panter
Changes by Martin Panter : -- status: open -> pending ___ Python tracker ___ ___

[issue10697] host and port attributes not documented well in function urllib.parse.urlparse and urlsplit

2015-02-08 Thread Martin Panter
Martin Panter added the comment: I don’t understand where the work needs to be done for this one. Even in the 3.1 and 2.7 documentation, the urlparse() and urlsplit() entries both list “port” as one of the returned attributes, and urlparse() has example code for it. -- nosy: +vadmium

[issue10697] host and port attributes not documented well in function urllib.parse.urlparse and urlsplit

2010-12-13 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The repr gives the primary components defined by the URL. The subfields are provided as attributes of the result. This is documented in the example at the top of the chapter, but it is not, IMO, well documented in the rest of the

[issue10697] host and port attributes not documented well in function urllib.parse.urlparse and urlsplit

2010-12-13 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. fdr...@acm.org added the comment: These attributes were added in Python 2.5. Documentation improvements should be backported to 2.7 and 3.1. -- nosy: +fdrake ___ Python tracker rep...@bugs.python.org

[issue10697] host and port attributes not documented well in function urllib.parse.urlparse and urlsplit

2010-12-13 Thread Fred L. Drake, Jr.
Changes by Fred L. Drake, Jr. fdr...@acm.org: -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10697 ___ ___

[issue10697] host and port attributes not documented well in function urllib.parse.urlparse and urlsplit

2010-12-13 Thread JTMoon79
JTMoon79 jtm.moon.forum.user+pyt...@gmail.com 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=1b=2')) [... 'count', 'fragment', 'geturl', 'hostname', 'index' , 'netloc', 'params', 'password',