
R. David Murray <rdmurray@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 chapter. I'm not sure when this feature was introduced, so I'm leaving 3.1 in the versions for now. ---------- assignee: -> docs@python components: +Documentation -Library (Lib) nosy: +docs@python, orsenthil, r.david.murray stage: -> needs patch title: port not split in function urllib.parse.urlparse -> host and port attributes not documented well in function urllib.parse.urlparse and urlsplit versions: +Python 3.2 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue10697> _______________________________________