ANN: PyChecker v0.8.12
Neal Norwitz
neal@metaslash.com
Mon, 23 Dec 2002 20:36:30 -0500
A new version of PyChecker is available just in time for Christmas.
There's to be no complaining about the gifts it brings. :-)
PyChecker is a tool for finding bugs in Python source code.
It finds problems that are typically caught by a compiler for less
dynamic languages, like C and C++. It is similar to lint.
Comments, criticisms, new ideas, and other feedback is welcome.
It's been a while since the last release, over 6 months--a record
for PyChecker. :-) So there may be problems with the release.
You've been warned.
This is primarily a bug fix release. While there are a few new
features, the biggest change is that PyChecker can be run on Zope by
using the __import__ hook. The __import__ hook was added earlier, but
had many bugs which made it fairly useless. It should be a little
less useless now, YMMV, of course.
Changes from 0.8.11 to 0.8.12:
* Add --isliteral option to warn when using is/is not against literal
(e.g., XXX is 5 YYY is not 'abcdef', etc)
* Add --modulo1 option to warn when using (expr % 1),
which is constant when expr is an integer or string
* Add -4/--noeffect option to disable warnings for 'Statement has no effect'
* self is not first argument warning can be disabled with -S/--self ''
* Don't print duplicate warnings when importing pychecker
* Fix other spurious warnings when importing pychecker
* Fix bug for spurious invalid arguments when passing a dict inline
* Fix bug for spurious Statement has no effect when print >> x, ... ,
* Add @option_file command line argument to read options from a file
(used on platforms which can't have too many options, ie Windows)
* Fix several crashes
* Line numbers should be close for Python 2.3 and if run on optimized code
PyChecker is available on Source Forge:
Web page: http://pychecker.sourceforge.net/
Project page: http://sourceforge.net/projects/pychecker/
Mailing List: pychecker-list@lists.sourceforge.net
Neal
--
pychecker-list@lists.sourceforge.net