Senthil added the comment: I don't think this is a valid issue. If you browse through the RFC 1808 you will find that. 1) For net_loc information it refers to a broad section 1738 and we wont specifically find any information on port number in that. 2) But, have a look at the BNF Representation of the net_loc
net_loc = *( pchar | ";" | "?" ) pchar = uchar | ":" | "@" | "&" | "=" There it dismisses this issue. The port number is a property of the scheme in the absolute URL notation. so, urlparse.urlparse('foo.bar.com',8088).scheme would give you the port. If someone can validate my reasoning, then we can close this issue. ---------- nosy: +orsenthil __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2195> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com