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.

classification
Title: urllib documentation: urlopen().info() return type
Type: behavior Stage: needs patch
Components: Documentation Versions: Python 2.7, Python 2.6
process
Status: closed Resolution: fixed
Dependencies: 3428 Superseder:
Assigned To: georg.brandl Nosy List: ThomasH, georg.brandl, orsenthil, rodolpho
Priority: normal Keywords: patch

Created on 2008-07-22 17:05 by ThomasH, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
urllib_doc_2.6.diff rodolpho, 2009-03-29 09:43 Patch for 2.6
urllib_doc_2.7.diff rodolpho, 2009-03-29 09:43 Patch for 2.7
Messages (4)
msg70154 - (view) Author: (ThomasH) Date: 2008-07-22 17:05
http://docs.python.org/lib/module-urllib.html
The page says that the return type of urlopen().info() is a
mimetools.Message object, which is not quite true; it is a
httplib.HTTPMessage object, which is a class derived from
mimetools.Message, but with additional features.

The httplib.HTTPMessage class is not documented at all, for which I will
file a separate bug.
msg84369 - (view) Author: Rodolpho Eckhardt (rodolpho) Date: 2009-03-29 09:43
I'm including 2.7, as it also has this documentation problem. The rest
of the documentation is correct.

I know there is still work to be done on Issue 4773, which might affect
this doc.
msg84370 - (view) Author: Rodolpho Eckhardt (rodolpho) Date: 2009-03-29 09:43
Patch for 2.7.
msg84935 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-03-31 22:18
Committed in r70907.
History
Date User Action Args
2022-04-11 14:56:36adminsetgithub: 47677
2009-03-31 22:18:37georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg84935
2009-03-29 09:43:34rodolphosetfiles: + urllib_doc_2.7.diff

messages: + msg84370
2009-03-29 09:43:08rodolphosetfiles: + urllib_doc_2.6.diff
versions: + Python 2.7
nosy: + rodolpho

messages: + msg84369

keywords: + patch
2009-02-12 19:03:39ajaksu2setnosy: + orsenthil
dependencies: + httplib.HTTPMessage undocumented
stage: needs patch
versions: + Python 2.6, - Python 2.5
2008-07-22 17:05:34ThomasHcreate