[Python-Dev] pychecker warnings from python-current

Neal Norwitz neal@metaslash.com
Sat, 13 Oct 2001 11:30:56 -0400


Here's a new set of warnings from pychecker (current) against 
python-current as of 13 Oct:

cgi.py:250: No global (ib) found
    (no idea which variable is desired, best guess is boundary)

gzip.py:292: No global (f) found
    (f should be self?)

markupbase.py:306: Invalid arguments to (error), got 2, expected 1
    (not sure if this is a problem or not)

rexec.py:262: Using the return value from (execfile) which is always None
    (not really a problem, but implies there is a return value other than None)

smtplib.py:540: No global (SMTPError) found
    (should be SMTPException?)

urllib.py:587: Invalid arguments to (http_error_default), got 5, expected 6
    (needs errcode passed as 4th arg, between fp & errmsg)

webbrowser.py:182: No global (_os) found
    (should be os)

There's also a problem in Objects/stringobject.c on line 2541.  The docstring
for ''.splitlines() has an extra ].

Neal