-
Yup, I never updated pychecker much to handle generator expressions. Let me know if you find more problems. This one is fixed:
Checking in test_expected/test103;
initial revision: 1.1
Checking in test_input/test103.py;
initial revision: 1.1
Checking in pychecker/CodeChecks.py;
new revision: 1.176; previous revision: 1.175
Checking in pychecker/utils.py;
new revision: 1.12; previous...
2008-11-17 06:06:36 UTC in PyChecker
-
nnorwitz committed patchset 1327 of module pychecker to the PyChecker CVS repository, changing 4 files.
2008-11-17 06:05:38 UTC in PyChecker
-
Sorry, missed the other file that has the fix and not just the test:
Checking in pychecker/CodeChecks.py;
/cvsroot/pychecker/pychecker/pychecker/CodeChecks.py,v
2008-11-17 05:58:09 UTC in PyChecker
-
Good catch. Fixed in:
Checking in test_input/test93.py;
/cvsroot/pychecker/pychecker/test_input/test93.py,v
2008-11-17 05:57:32 UTC in PyChecker
-
nnorwitz committed patchset 1326 of module pychecker to the PyChecker CVS repository, changing 2 files.
2008-11-17 05:57:08 UTC in PyChecker
-
Sorry, this got missed. Fixed in:
Checking in pychecker/python.py;
/cvsroot/pychecker/pychecker/pychecker/python.py,v
2008-11-17 05:49:07 UTC in PyChecker
-
nnorwitz committed patchset 1325 of module pychecker to the PyChecker CVS repository, changing 1 files.
2008-11-17 05:48:37 UTC in PyChecker
-
You're right, this has been a special method probably since 2.0.
Fixed in pychecker/python.py 1.44.
2008-11-17 05:44:29 UTC in PyChecker
-
nnorwitz committed patchset 1324 of module pychecker to the PyChecker CVS repository, changing 1 files.
2008-11-17 05:43:31 UTC in PyChecker
-
In mail to pychecker-list, Jesús Reyes, points out that this code:
def foo(x):
assert isinstance(x,int) and x >= 0, "Invalid value for x"
return x * x
Returns this false positive:
/tmp/tt.py:2: Code appears to be unreachable.
2008-11-17 05:37:20 UTC in PyChecker