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=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 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10697> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com