head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.4 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.2 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q1:1.3.0.70 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.68 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.66 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.64 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.62 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.60 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.58 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.56 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.54 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.52 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.50 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.48 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.46 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.44 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.42 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.40 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.38 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.36 pkgsrc-2008Q1:1.3.0.34 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.32 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.30 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.28 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.26 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.24 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.22 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.20 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.18 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.16 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.14 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.12 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.10 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.8 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.6 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.4 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.2 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 pkgsrc_base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2012.06.03.22.32.59; author wiz; state dead; branches; next 1.3; 1.3 date 2003.12.02.23.37.26; author recht; state Exp; branches; next 1.2; 1.2 date 2003.06.28.14.49.48; author drochner; state Exp; branches; next 1.1; 1.1 date 2003.06.27.14.16.34; author drochner; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2003.06.27.14.16.34; author drochner; state Exp; branches; next ; desc @@ 1.4 log @Update to 0.8.19: Version 0.8.19 - 8 January 2011 * Add support for Python 2.7 * Fixed SF Bug [ 2209631 ]: New pcmodules.py module, modulePath code causes import error * Fixed SF Bug [ 1565876 ]: pychecker does not allow lambda with setattr and const * Fixed SF Bug [ 1564614 ]: pychecker -q on 64-bit ignores the platform-specific stdlib * Fixed SF Bug [ 1563572 ]: order of checking files affects errors reported PyChecker was only checking one of each set of modules with the same name; so it will now catch many more warnings it was missing before. * Fixed SF Bug [ 1563495 ]: couldn't find real module does not respect blacklist * Fixed SF Bug [ 1563494 ]: pychecker tracebacks when importing zope.interface.declaration * Add unittest-based testsuite. * Warn about missing opcodes. * Added implementations for the following opcodes: BUILD_SLICE, DELETE_SLICE3, DUP_TOPX, JUMP_IF_FALSE/TRUE, JUMP_IF_FALSE/TRUE_OR_POP, MAP_ADD, PRINT_NEWLINE_TO, SET_ADD, SETUP_WITH, SLICE0, STORE_MAP, STORE_SLICE+0, STORE_SLICE2, WITH_CLEANUP, YIELD_VALUE Version 0.8.18 - 17 August 2008 * Fixed SF Bug [ 1827412 ] pychecker.bat only handles 9 cmdline args * Fix warning about comparison checking with bool false alert for 'in' and 'not in' * Add warning for using __set__, __get__, and __delete__ in an old-style class * Fix spurious warning about __set__, __get__, and __delete__ not being special methods. * Fix inability to disable Warning about constant setattr()/getattr() * Fix spurious warning on min/max not accepting kwarg of key in Python 2.5 * Add some __special__ pickling methods that were missing * Add --missingattrs option to ignore some (but not all) attribute names * Fix crash when using keyword arguments with builtin methods * Add --keepgoing option to ignore import errors * Add --findevil option to make it easier to find objects that crash the interpreter * Add support for Python 2.5 Version 0.8.17 - 3 February 2006 * Fix spurious warning for Statement with no effect using bit shifts * Add -#/--limit command line option to set the max # of warnings to show * Remove broken command line options: -e/--errors, --complexity * Add -e/--level command line options which allows the error level to be specified: error, security, warning, unused, deprecated, style. These names map to numbers: 90, 90, 70, 50, 40, 10 (error == security). Specifying a value means all levels equal to or greater than it. * Add --only option which displays warnings only for files specified on the command line * Add --evil option for users to prevent the interpreter from crashing due to broken C extensions * Fix wrong file name when warning about returning values from __init__ functions. (#1291116) * Fix a few more glitches with setup.py. * Suppress warning about integer division when the code is: int(x / y) * Add code to skip testing objects from extension modules that are known to crash the interpreter. Currently, the list includes old versions of matplotlib.axes.BinOpType and wx.TheClipboard. * Support ROT_THREE and ROT_FOUR opcodes Version 0.8.16 - 4 September 2005 * Fix problems installing on Windows and running setup.py build @ text @$NetBSD: patch-aa,v 1.3 2003/12/02 23:37:26 recht Exp $ --- setup.py~ 2003-11-18 04:50:14.000000000 +0100 +++ setup.py 2003-11-19 14:42:48.000000000 +0100 @@@@ -10,7 +10,6 @@@@ import sys import os -import tempfile from distutils.core import setup from distutils import sysconfig @@@@ -56,8 +55,8 @@@@ script_str = '%s %s %s\n' % (py_exe, checker_py, arg_str) script_suffix = '.bat' - LOCAL_SCRIPT = 'pychecker' + script_suffix - LOCAL_SCRIPT = os.path.join(tempfile.gettempdir(), LOCAL_SCRIPT) + LOCAL_SCRIPT = 'pychecker' + sys.version[0:3] + script_suffix + LOCAL_SCRIPT = os.path.join('./', LOCAL_SCRIPT) remove_file(LOCAL_SCRIPT) try : @@@@ -78,7 +77,6 @@@@ author_email = "pychecker@@metaslash.com", url = "http://pychecker.sourceforge.net/", packages = [ 'pychecker' ], - data_files = [ (install_dir, DOC_FILES) ], scripts = [ LOCAL_SCRIPT, ], # classifiers was added in Python 2.3, but needed for PyPI #classifiers = CLASSIFIERS, @ 1.3 log @update to 0.8.13 Version 0.8.13 - 18 November 2003 * Add -s/--shadowbuiltin option to warn when overriding a builtin * Add warning when assigning a variable to itself * Add warning when dividing a variable by itself * Add warnings when using a bit-wise operator with the same variable (a & a) * Add warning when passing a constant string to getattr()/setattr() * Add --special option to check for __special__ (reserved) method names and that their signature (argument count) is correct * Add warning for using __getattribute__ in an old-style class * Suppress 'self as first argument' warning for static and class methods * Add --classmethodargs option to specify first argument name for class methods @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @After a short, nonviolent, debate with Shell Hung, merge his py-Checker and my py-checker into one pkg. Moved py-Checker to py-Checker-mixedcase in the repository [schmonz 2007-06-07] @ text @d3 2 a4 2 --- setup.py.orig 2002-12-24 02:05:58.000000000 +0100 +++ setup.py 2003-06-28 16:36:47.000000000 +0200 d13 1 a13 1 @@@@ -42,8 +41,8 @@@@ d24 1 a24 1 @@@@ -64,7 +63,6 @@@@ d30 2 a31 2 long_description = LONG_DESCRIPTION ) @ 1.1 log @Initial revision @ text @d3 11 a13 3 --- setup.py.orig 2003-06-27 15:51:02.000000000 +0200 +++ setup.py 2003-06-27 15:51:34.000000000 +0200 @@@@ -42,7 +42,7 @@@@ d18 1 d20 1 a20 1 LOCAL_SCRIPT = os.path.join(tempfile.gettempdir(), LOCAL_SCRIPT) d23 9 @ 1.1.1.1 log @import pychecker-0.8.12, something like "lint", but for Python @ text @@