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

URLOpener => URLopener x2 in fix_urllib.py #54495

Closed
terryjreedy opened this issue Nov 1, 2010 · 2 comments
Closed

URLOpener => URLopener x2 in fix_urllib.py #54495

terryjreedy opened this issue Nov 1, 2010 · 2 comments
Labels
easy topic-2to3 type-bug An unexpected behavior, bug, or error

Comments

@terryjreedy
Copy link
Member

BPO 10286
Nosy @birkenfeld, @terryjreedy, @benjaminp

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 = None
closed_at = <Date 2010-11-04.08:35:50.688>
created_at = <Date 2010-11-01.20:28:53.201>
labels = ['easy', 'type-bug', 'expert-2to3']
title = 'URLOpener => URLopener x2 in fix_urllib.py'
updated_at = <Date 2010-11-04.08:35:50.673>
user = 'https://github.com/terryjreedy'

bugs.python.org fields:

activity = <Date 2010-11-04.08:35:50.673>
actor = 'georg.brandl'
assignee = 'none'
closed = True
closed_date = <Date 2010-11-04.08:35:50.688>
closer = 'georg.brandl'
components = ['2to3 (2.x to 3.x conversion tool)']
creation = <Date 2010-11-01.20:28:53.201>
creator = 'terry.reedy'
dependencies = []
files = []
hgrepos = []
issue_num = 10286
keywords = ['easy']
message_count = 2.0
messages = ['120165', '120383']
nosy_count = 3.0
nosy_names = ['georg.brandl', 'terry.reedy', 'benjamin.peterson']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'needs patch'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue10286'
versions = ['Python 3.1', 'Python 2.7', 'Python 3.2']

@terryjreedy
Copy link
Member Author

Lib/lib2to3/fixes/fix_urllib.py, near the top, has
'''
MAPPING = {'urllib': [
('urllib.request',
['URLOpener', 'FancyURLOpener', 'urlretrieve',
'''
'Opener' should by 'opener' in BOTH cases.

Non-fix of URLopener reported on python-list by Chris McDonald.

@terryjreedy terryjreedy added topic-2to3 easy type-bug An unexpected behavior, bug, or error labels Nov 1, 2010
@birkenfeld
Copy link
Member

Fixed in r86157.

@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
easy topic-2to3 type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants