Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

urllib.request.Request.is_unverifiable deprecation documentation is incorrect #59615

Closed
meadori opened this issue Jul 21, 2012 · 2 comments
Closed
Assignees
Labels
docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error

Comments

@meadori
Copy link
Member

meadori commented Jul 21, 2012

BPO 15410
Nosy @meadori

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/meadori'
closed_at = <Date 2012-07-21.00:52:29.673>
created_at = <Date 2012-07-21.00:35:09.494>
labels = ['type-bug', 'docs']
title = 'urllib.request.Request.is_unverifiable deprecation documentation is incorrect'
updated_at = <Date 2012-07-21.00:52:29.673>
user = 'https://github.com/meadori'

bugs.python.org fields:

activity = <Date 2012-07-21.00:52:29.673>
actor = 'meador.inge'
assignee = 'meador.inge'
closed = True
closed_date = <Date 2012-07-21.00:52:29.673>
closer = 'meador.inge'
components = ['Documentation']
creation = <Date 2012-07-21.00:35:09.494>
creator = 'meador.inge'
dependencies = []
files = []
hgrepos = []
issue_num = 15410
keywords = []
message_count = 2.0
messages = ['165990', '165991']
nosy_count = 2.0
nosy_names = ['meador.inge', 'python-dev']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue15410'
versions = ['Python 3.3']

@meadori
Copy link
Member Author

meadori commented Jul 21, 2012

While reviewing the change for bpo-15409 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

@meadori meadori self-assigned this Jul 21, 2012
@meadori meadori added docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error labels Jul 21, 2012
@python-dev
Copy link
Mannequin

python-dev mannequin commented Jul 21, 2012

New changeset f39895c55699 by Meador Inge in branch 'default':
Issue bpo-15410: Fix the urllib.request.Request.is_unverifiable deprecation documentation.
http://hg.python.org/cpython/rev/f39895c55699

@meadori meadori closed this as completed Jul 21, 2012
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant