Issue 3427: urllib documentation: urlopen().info() return type (original) (raw)

Issue3427

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:36 admin set github: 47677
2009-03-31 22🔞37 georg.brandl set status: open -> closedresolution: fixedmessages: +
2009-03-29 09:43:34 rodolpho set files: + urllib_doc_2.7.diffmessages: +
2009-03-29 09:43:08 rodolpho set files: + urllib_doc_2.6.diffversions: + Python 2.7nosy: + rodolphomessages: + keywords: + patch
2009-02-12 19:03:39 ajaksu2 set nosy: + orsenthildependencies: + httplib.HTTPMessage undocumentedstage: needs patchversions: + Python 2.6, - Python 2.5
2008-07-22 17:05:34 ThomasH create