[Python-apps-team] Bug#666503: pyflakes: wrong redefine warning
Picca Frédéric-Emmanuel
picca at debian.org
Sat Mar 31 08:32:16 UTC 2012
Package: pyflakes
Version: 0.5.0-1
Severity: normal
Dear Maintainer,
Still working with pyflake on my project and now I found this:
picca at xxxxx:/tmp$ pyflakes test.py
test.py:5: redefinition of function 'toto' from line 2
the test file is attached., indeed the condition is not that simple in real
life :)
See you
Frederic
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-2-486
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages pyflakes depends on:
ii python 2.7.2-10
ii python-support 1.0.14
pyflakes recommends no packages.
pyflakes suggests no packages.
-- no debconf information
-------------- next part --------------
if 1:
def toto():
pass
else:
def toto():
pass
More information about the Python-apps-team
mailing list