[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 getcode method in urllib.request.rst
http://hg.python.org/cpython/rev/e15d2ad42d93

New changeset b79df3e8a9a0 by Senthil Kumaran in branch 'default':
Fix Issue17069: Document getcode method in urllib.request.rst
http://hg.python.org/cpython/rev/b79df3e8a9a0

New changeset 5630f0aff6ac by Senthil Kumaran in branch '2.7':
Fix Issue17069: Document getcode method in urllib.request.rst
http://hg.python.org/cpython/rev/5630f0aff6ac

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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:  -> behavior
versions: +Python 3.2, Python 3.3, Python 3.4 -Python 2.6
Added file: http://bugs.python.org/file28950/Issue17069-default.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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() responses.

This should be a documented feature of urllib2.

--
components: Library (Lib)
messages: 180900
nosy: tazle
priority: normal
severity: normal
status: open
title: HTTP result code in urllib2.urlopen() file object undocumented
versions: Python 2.6, Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com