[New-bugs-announce] [issue15410] urllib.request.Request.is_unverifiable deprecation documentation is incorrect

Meador Inge report at bugs.python.org
Sat Jul 21 02:35:10 CEST 2012


New submission from Meador Inge <meadori at gmail.com>:

While reviewing the change for issue15409 I noticed that the 'urlib.request' documentation has an error in the deprecation note for 'urllib.request.Request.is_unverifiable' [1]:

"""
Deprecated in 3.3, use Request.is_unverifiable.
"""

The deprecation text of 'is_unverifiable' shouldn't be recommending 'is_unverifiable' as a replacement :-)  The text should actually read:

"""
Deprecated in 3.3, use Request.unverifiable.
"""

I will patch this shortly.

[1] http://docs.python.org/dev/library/urllib.request.html#urllib.request.Request.is_unverifiable

----------
assignee: meador.inge
components: Documentation
messages: 165990
nosy: meador.inge
priority: normal
severity: normal
stage: needs patch
status: open
title: urllib.request.Request.is_unverifiable deprecation documentation is incorrect
type: behavior
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15410>
_______________________________________


More information about the New-bugs-announce mailing list