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.request.Request.is_unverifiable deprecation documentation is incorrect
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: meador.inge Nosy List: meador.inge, python-dev
Priority: normal Keywords:

Created on 2012-07-21 00:35 by meador.inge, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg165990 - (view) Author: Meador Inge (meador.inge) * (Python committer) Date: 2012-07-21 00:35
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
msg165991 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-07-21 00:51
New changeset f39895c55699 by Meador Inge in branch 'default':
Issue #15410: Fix the urllib.request.Request.is_unverifiable deprecation documentation.
http://hg.python.org/cpython/rev/f39895c55699
History
Date User Action Args
2022-04-11 14:57:33adminsetgithub: 59615
2012-07-21 00:52:29meador.ingesetstatus: open -> closed
resolution: fixed
stage: needs patch -> resolved
2012-07-21 00:51:29python-devsetnosy: + python-dev
messages: + msg165991
2012-07-21 00:35:09meador.ingecreate