Programming Languages: Python
License: BSD License
browse code,
statistics cvs -d:pserver:anonymous@pychecker.cvs.sourceforge.net:/cvsroot/pychecker login
cvs -z3 -d:pserver:anonymous@pychecker.cvs.sourceforge.net:/cvsroot/pychecker co -P modulename
Here's the source code as well as output http://pastebin.com/0gBAN04N.
2012-04-27 03:33:09 PDT by doda999
In the attached script, f is a decorated function with a reference to an undefined variable (p) and which uses the module sys. Running PyChecker gives: Processing module a (a)... Warnings... a.py:2: Imported module (sys) not used as though it had completely ignored the decorated function. Removing the decorator raises the expected warning. PyChecker 0.8.19.
2012-04-17 07:58:15 PDT by fluorhydric
This code: ops = {} fdel = ops.get('fdel', lambda self: delattr(self, '')) Produces this warningf: utils.py:589: Using the return value from (delattr) which is always None The lambda is returning the function delattr(self, ''), not the return value of invoking that function.
2012-04-02 12:46:28 PDT by cmj
Hi, When using both zip and a list comprehension inside a dict(), pychecker raises a warning which shouldn't be there. For example: b = dict(zip([1], [x for x in [1]])) Daniel.
2012-03-28 03:17:35 PDT by fluorhydric
Pychecker issues this warning: Using a conditional statement with a constant value (create) for this statement: "action:" + ((exists and "create") or ((not exists) and "delete"))]) To me, this expression seems to be idiomatic Python using the fact that Python returns the last evaluated item from a logical expression. Its purpose...
2012-02-11 11:45:59 PST by kwhitefoot
Pychecker 0.8.19 breaks otherwise working code in python 2.6.4. Note I installed 0.8.19 and no other pychecker versions on this machine but pychecker --version incorrectly reports being 0.8.18. I'm attaching a reduced test case 'bug.py' to demonstrate the issue. Here is the console output. The second run (without the error) had line 3 commented out (the pychecker import). PS...
2012-01-06 04:16:53 PST by mulander