[Python-apps-team] Bug#742995: pyflakes: AttributeError: 'ClassScope' object has no attribute 'returnValue'

Jakub Wilk jwilk at debian.org
Sun Mar 30 20:12:42 UTC 2014


* Jakub Wilk <jwilk at debian.org>, 2014-03-29, 21:59:
>AttributeError: 'ClassScope' object has no attribute 'returnValue'

Curiously, in squeeze, pyflakes correctly reported syntax error:

$ pyflakes test.py
test.py:2: 'return' outside function
return 42


But in wheezy, it didn't report anything at all:

$ pyflakes test.py && echo moo
moo

-- 
Jakub Wilk



More information about the Python-apps-team mailing list