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

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> _______________________________________

Fred L. Drake, Jr. <fdrake@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 <report@bugs.python.org> <http://bugs.python.org/issue10697> _______________________________________
participants (2)
-
Fred L. Drake, Jr.
-
R. David Murray