[issue2734] 2to3 converts long(itude) argument to int

Eric Talevich report at bugs.python.org
Fri Jul 23 05:54:45 CEST 2010


Eric Talevich <eric.talevich at gmail.com> added the comment:

This issue still occurs when the name "long" is a function argument:

def double(long):
    return long * 2


2to3 converts it to:

def double(long):
    return int * 2


Should I file a new bug, or can someone reopen this?

----------
nosy: +eric-talevich
versions: +Python 2.7 -Python 3.0
Added file: http://bugs.python.org/file18135/long_fixer_bug.py

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


More information about the Python-bugs-list mailing list