[Python-Dev] Python 2.1 RC1 - PyCheckered Tools

Neal Norwitz pychecker@metaslash.com
Mon, 16 Apr 2001 10:42:24 -0400


Here's the problems I found with PyChecker (http://pychecker.sourceforge.net)
against the Python 2.1 RC1 Tools.

Is there any reason that bgen source is Tools/bgen/bgen?

Neal
--

bgen/bgenOutput.py:87 No global (Error) found
bgen/bgenType.py:30 Invalid arguments to (getargsArgs), got 0, expected 1
bgen/bgenType.py:79 Invalid arguments to (mkvalueArgs), got 0, expected 1
bgen/scantools.py:402 No attribute (comment1) found
bgen/scantools.py:403 No attribute (comment1) found
bgen/scantools.py:404 No attribute (comment2) found
bgen/scantools.py:405 No attribute (comment2) found
bgen/scantools.py:406 No attribute (sym) found
bgen/scantools.py:409 No attribute (head) found
bgen/scantools.py:417 No attribute (sym) found
bgen/scantools.py:426 No attribute (tail) found
bgen/scantools.py:428 No attribute (comment1) found
bgen/scantools.py:429 No attribute (comment1) found
bgen/scantools.py:430 No attribute (comment2) found
bgen/scantools.py:431 No attribute (comment2) found
bgen/scantools.py:436 No attribute (whole) found
bgen/scantools.py:439 No attribute (whole) found
bgen/scantools.py:475 No attribute (asplit) found
bgen/scantools.py:478 No attribute (asplit) found
	(seems most names are xxx_pat, not xxx)

idle/BrowserControl.py:103 No global (_os) found
	(should be os)
idle/BrowserControl.py:149 No global (traceback) found
	(need to import)
idle/SearchDialogBase.py:34 No attribute (default_command) found
idle/SearchDialogBase.py:127 Local variable (f) not used
idle/UndoDelegator.py:29 No method (unbind) found
	(also at lines, 30, 31)
idle/UndoDelegator.py:34 No method (bind) found
	(also at lines, 35, 36)
idle/UndoDelegator.py:139 No method (bell) found
	(also at line 150)
idle/WidgetRedirector.py:33 No global (dict) found
	(should be self.dict)
idle/eventparse.py:1 Imported module (getopt) not used in any function

freeze/checkextensions_win32.py:62 No global (mapFileName) found
	(should be defaultMapName)
freeze/checkextensions_win32.py:121 No global (modules) found
	(should be module)
freeze/makeconfig.py:33 No global (sys) found
freeze/modulefinder.py:67 Local variable (i) not used
	(can do print "  " * self.indent, just a warning)

faqwiz/faqwiz.py:245 No attribute (last_changed_date) found
faqwiz/faqwiz.py:306 No attribute (last_changed_date) found
faqwiz/faqwiz.py:324 Local variable (okprog) not used
faqwiz/faqwiz.py:455 No global (constants) found

pynche/ListViewer.py:165 Local variable (height) not used
pynche/StripViewer.py:294 Local variable (tclcmd) not used
pynche/StripViewer.py:405 No attribute (_StripViewer__gentypevar) found
	(member commented out)
pynche/TextViewer.py:104 Local variable (val) not used

webchecker/webchecker.py:192 Function (load_pickle) uses named arguments