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 JTMoon79
Recipients JTMoon79, docs@python, fdrake, orsenthil, r.david.murray
Date 2010-12-13.20:48:37
SpamBayes Score 0.10937386
Marked as misclassified No
Message-id <1292273320.3.0.621697909597.issue10697@psf.upfronthosting.co.za>
In-reply-to
Content
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', 'hostname', 'index'
, 'netloc', 'params', 'password', 'path', 'port', 'query', 'scheme', 'username']

I agree, some clarity in the documentation for these overlapping fields (<net_loc>,<port>,<hostname>) would help.

-J_Tom_Moon_79
History
Date User Action Args
2010-12-13 20:48:40JTMoon79setrecipients: + JTMoon79, fdrake, orsenthil, r.david.murray, docs@python
2010-12-13 20:48:40JTMoon79setmessageid: <1292273320.3.0.621697909597.issue10697@psf.upfronthosting.co.za>
2010-12-13 20:48:37JTMoon79linkissue10697 messages
2010-12-13 20:48:37JTMoon79create