[issue4423] 2to3 replaces "arbitrary" variables

Martin v. Löwis report at bugs.python.org
Tue Nov 25 04:35:00 CET 2008


New submission from Martin v. Löwis <martin at v.loewis.de>:

In 2to3 (from the py3k branch, as of r67372) translates the fragment

def f():
    commands = foo()
    commands.sort()

to

def f():
    commands = foo()
    subprocess.sort()

----------
components: 2to3 (2.x to 3.0 conversion tool)
messages: 76394
nosy: loewis
severity: normal
status: open
title: 2to3 replaces "arbitrary" variables

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


More information about the Python-bugs-list mailing list