PyChecker - a python source code bug finder

Neal Norwitz neal at metaslash.com
Thu Apr 12 11:11:45 EDT 2001


Robin Becker wrote:

>  OK I switched to the CVS latest and it seems better. 

That's good.

> I'm still getting the messages from imported modules
> rather than the real one ie
> 
> c:\python\reportlab\graphics\widgetbase.py:0 No __init__() 
>                                         in subclass (LinePlotProperties)
> c:\python\reportlab\graphics\widgetbase.py:1 No module doc string
> 
> here widgetbase is imported by lineplot, but the above errors 
> are certainly for linplot.py itself.

If you send me the code (preferabbly a small test case), I'll take a look
and try to fix.

> I'm also getting a warning about not calling the base class even when I have got
> an apply(BASE.__init__,.....) I suppose this is more difficult than the straight call.

Yes, apply() isn't handled, but I added it to the TODO list, 
I think it can be done pretty easily for some better checking.

Neal



More information about the Python-list mailing list