[Python-Dev] more pychecker warnings from python-current
Fred L. Drake, Jr.
fdrake@acm.org
Wed, 17 Oct 2001 09:26:43 -0400
Guido van Rossum writes:
> > 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
>
> This is an abstract base class -- these are references to instance
> variables of a derived class. Except for the two "local variable not
> used" warnings -- these are relics from the code refactoring that
> created the abstract class. Looks like a job for Fred.
I expect to check something in for this tonight.
> > 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
>
> Tim?
Sorry; I nailed this one already. ;-)
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Zope Corporation