Subject: CVS commit: pkgsrc/devel/py-Checker
To: None <pkgsrc-changes@netbsd.org>
From: Shell Hung <shell@netbsd.org>
List: pkgsrc-changes
Date: 12/26/2002 16:25:49
Module Name: pkgsrc
Committed By: shell
Date: Thu Dec 26 14:25:49 UTC 2002
Modified Files:
pkgsrc/devel/py-Checker: Makefile distinfo
pkgsrc/devel/py-Checker/patches: patch-aa
Log Message:
Updated to pyChecker-0.8.12
Changes :
Version 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
Version 0.8.11
* Improve error message for syntax errors from user files
* Fix pychecker.bat so it should work now
* Add a warning for using __coerce__ in new-style classes
* Add --deprecated option for using deprecated modules or functions
* Add a warning for using functions with security problems (os.t[e]mpnam)
* Add a warning for comparing against True/False or defining True/False
* Add --badexcept option to warn when using string exceptions or
classes not derived from Exception to raise/catch exceptions
* Fix spurious warnings from using (test and 'true' or 'false)
To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 pkgsrc/devel/py-Checker/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/devel/py-Checker/distinfo
cvs rdiff -r1.2 -r1.3 pkgsrc/devel/py-Checker/patches/patch-aa
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.