[issue10286] URLOpener => URLopener x2 in fix_urllib.py

Terry J. Reedy report at bugs.python.org
Mon Nov 1 21:28:55 CET 2010


New submission from Terry J. Reedy <tjreedy at udel.edu>:

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.

----------
components: 2to3 (2.x to 3.0 conversion tool)
keywords: easy
messages: 120165
nosy: benjamin.peterson, terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: URLOpener => URLopener x2 in fix_urllib.py
type: behavior
versions: Python 2.7, Python 3.1, Python 3.2

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


More information about the Python-bugs-list mailing list