ANN: PyChecker v0.8.5

Neal Norwitz PyChecker <pychecker@metaslash.com>
Wed, 17 Oct 2001 14:41:29 -0400


A new version of PyChecker is available for your hacking pleasure.

        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++.

Comments, criticisms, new ideas, and other feedback is welcome.

Changes from 0.8.4 to 0.8.5:

  * Add check for using builtin function/method const (None) return value
        (e.g., not_a_new_list = [].sort())
  * Add check for builtin object method calls for right # args
        (e.g., [].count(), {}.keys(), file.seek(0))
  * Add check for object method calls for right # args
        (calling object when type is known, ie instatiated locally)
  * Add check for modifying a parameter that has a default value
        (e.g., def func(mutable = []): mutable.append(0))
  * Add check for using future keywords (e.g., yield)
  * Add check for using unary positive on variables (e.g., +x)
  * Add check for recursive calls to __repr__ implementations (`self`)
  * Add -X/--reimport option to turn off various module reimport warnings
  * Add -V/--version option for printing PyChecker version
  * Fix some spurious warnings for inconsistent return value types
  * Fix spurious warning from calling functions like:  zip(*args)
  * Fix -F/--rcfile option so it really works

PyChecker is available on Source Forge:
    Web page:           http://pychecker.sourceforge.net/
    Project page:       http://sourceforge.net/projects/pychecker/

Neal
--
pychecker@metaslash.com