[Python-Dev] more pychecker warnings from python-current
Neal Norwitz
neal@metaslash.com
Tue, 16 Oct 2001 20:57:17 -0400
Well, almost python-current. The warnings were from a few days ago.
Neal
--
cgi.py:880: Local variable (traceback) not used
copy_reg.py:47: self is argument in function
not sure if this is really a problem or intended
copy_reg.py:65: Function return types are inconsistent
line 63 returns tuple of 3, but line 65, returns tuple of 2
doctest.py:528: Parameter (prefix) not used
docstring says prefix is used, but it isn't
locale.py:358: Redefining attribute (setlocale) original line (68)
markupbase.py:31: No class attribute (rawdata) found
markupbase.py:49: Local variable (sys) not used
markupbase.py:71: No class attribute (unknown_decl) found
markupbase.py:86: No class attribute (error) found
markupbase.py:118: No class attribute (parse_comment) found
markupbase.py:166: Local variable (n) not used
mhlib.py:651: Local variable (messages) not used
looks like a return in the if clause is necessary, otherwise exception
pickle.py:607: No class attribute (persistent_load) found
pickle.py:616: No class attribute (persistent_load) found
profile.py:356: Local variable (a) not used
on next line, return is not necessary, should a be returned?
profile.py:368: Local variable (a) not used
xmlrpclib.py:1: Imported module (sys) not used