ANN: PyChecker v0.8.2

Neal Norwitz neal at metaslash.com
Sun Aug 12 12:06:33 EDT 2001


I've put a new version of PyChecker up on SourceForge.
This release fixes several spurious warnings and adds
new configuration options to turn off warnings.
There are also a few checks added.

But the big feature that most people have probably been waiting for
has been added:

	Missing doc strings are no longer warned about by default. :-)

Many of these changes are due to feedback, so if I haven't addressed 
your pet peeve, let me know.

Changes in 0.8.2:
  * Check format strings even if using global & local constants
  * Add check that [].append() only takes one argument
  * Add check that # parameters are correct for builtin functions
  * Add warnings for --, ++, ~~:
        "Operator (%s) doesn't exist, statement has no effect"
  * Add -Q/--quiet to be real quiet, only output warning msgs, nothing else
  * Add -y/--classattr config option (warning was not configurable before)
        (warn if class attribute doesn't exist)
  * Add -x/--miximport config option (warning was not configurable before)
        (warn if mixing: import/from ... import)
  * Add -u/--callinit config option (warning was not configurable before)
        (warn if Subclass.__init__() not called)
  * Add constants together on stack when get + to avoid some spurious warnings
  * Fix method and attribute checks for None and Ellipsis
  * Fix spurious warnings when doing a local import and use module in lambda
  * Fix spurious warnings when object attribute has same name as class
  * Fix Object (x) has no attribute warnings for Python 2.2a1 built-in types
  * Change default behaviour to not warn about missing doc strings

Changes since 0.8.1:
  * Fix internal error when referencing a list constant:  [1,2,3][1]
  * Fix internal error for Python 1.5 not catching unicode syntax error
  * Fix deprecation warning for Python 2.2a1 with xrange
  * Fix spurious warning (No module attribute) when doing import x.y as y
  * Fix spurious warning (Base __init__() not called) when using *args or **kw
  * Fix 'No module attribute' warning when doing:  import foo.bar as bar
  * Spell overridden write

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

Neal
--
pychecker at metaslash.com




More information about the Python-list mailing list