[issue17069] HTTP result code in urllib2.urlopen() file object undocumented

2013-02-07 Thread Ezio Melotti
Ezio Melotti added the comment: > Are these the addinfourl getters that Ezio wants to deprecate? Yes, see #12707 -- ___ Python tracker ___ __

[issue17069] HTTP result code in urllib2.urlopen() file object undocumented

2013-02-07 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17069] HTTP result code in urllib2.urlopen() file object undocumented

2013-02-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset fae8e212e870 by Senthil Kumaran in branch '3.2': Fix Issue17069: Document getcode method in urllib.request.rst http://hg.python.org/cpython/rev/fae8e212e870 New changeset e15d2ad42d93 by Senthil Kumaran in branch '3.3': Fix Issue17069: Document getc

[issue17069] HTTP result code in urllib2.urlopen() file object undocumented

2013-02-07 Thread Senthil Kumaran
Senthil Kumaran added the comment: I shall go ahead with this change. And when the URLopener and FancyURLopener removed, all their references in the docs (including this change) will be removed. -- ___ Python tracker

[issue17069] HTTP result code in urllib2.urlopen() file object undocumented

2013-02-04 Thread Senthil Kumaran
Senthil Kumaran added the comment: Éric, thanks for the comment. URLopener and FancyURLopener is deprecated, so that reference to that can be removed from 3.4 (after removing the URLopener and FancyURLopener class). Rest of the patch can stay the same. -- _

[issue17069] HTTP result code in urllib2.urlopen() file object undocumented

2013-02-04 Thread Éric Araujo
Éric Araujo added the comment: Are these the addinfourl getters that Ezio wants to deprecate? -- ___ Python tracker ___ ___ Python-bug

[issue17069] HTTP result code in urllib2.urlopen() file object undocumented

2013-02-04 Thread Senthil Kumaran
Senthil Kumaran added the comment: Here is he patch against the default that would address this reported issue. Same would go for other 3.x branches. The 2.7 only can just see the addition of getcode() documented. -- assignee: -> orsenthil keywords: +patch stage: -> patch review type

[issue17069] HTTP result code in urllib2.urlopen() file object undocumented

2013-02-01 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue17069] HTTP result code in urllib2.urlopen() file object undocumented

2013-02-01 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo, ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue17069] HTTP result code in urllib2.urlopen() file object undocumented

2013-01-29 Thread Tuure Laurinolli
New submission from Tuure Laurinolli: As per documentation at http://docs.python.org/2/library/urllib2.html the file-like object returned by urllib2.urlopen() should have methods geturl() and info(). It actually also has getcode(), which appears to do the same as getcode() on urllib.urlopen()