Debian Automated Code Analysis

pyflakes analysis of python2.6-minimal_2.6.6-8+b1_i386.deb

./usr/lib/python2.6/site.py:143: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python2.6/site.py:143: invalid syntax
    with f:
          ^
./usr/lib/python2.6/shutil.py:50: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python2.6/shutil.py:50: invalid syntax
    with open(src, 'rb') as fsrc:
             ^
./usr/lib/python2.6/runpy.py:105: invalid syntax
    except ImportError as exc:
                         ^
./usr/lib/python2.6/sitecustomize.py: No such file or directory
./usr/lib/python2.6/codecs.py:268: invalid syntax
        return (b"", 0)
                   ^
./usr/lib/python2.6/copy.py:61: redefinition of unused 'PyStringMap' from line 59
./usr/lib/python2.6/string.py:528: 'whitespace' imported but unused
./usr/lib/python2.6/string.py:528: 'maketrans' imported but unused
./usr/lib/python2.6/string.py:599: undefined name 'format'
./usr/lib/python2.6/optparse.py:92: redefinition of unused 'gettext' from line 90
./usr/lib/python2.6/optparse.py:832: redefinition of function 'isbasestring' from line 829
./usr/lib/python2.6/optparse.py:1394: local variable 'stop' is assigned to but never used
./usr/lib/python2.6/popen2.py:171: redefinition of function 'popen2' from line 141
./usr/lib/python2.6/popen2.py:178: undefined name 'Popen3'
./usr/lib/python2.6/popen2.py:181: redefinition of function 'popen3' from line 151
./usr/lib/python2.6/popen2.py:188: undefined name 'Popen3'
./usr/lib/python2.6/popen2.py:191: redefinition of function 'popen4' from line 161
./usr/lib/python2.6/popen2.py:198: undefined name 'Popen4'
./usr/lib/python2.6/tokenize.py:30: 'from token import *' used; unable to detect undefined names
./usr/lib/python2.6/tokenize.py:387: local variable 'strstart' is assigned to but never used
./usr/lib/python2.6/opcode.py:32: undefined name 'def_op'
./usr/lib/python2.6/opcode.py:36: undefined name 'def_op'
./usr/lib/python2.6/opcode.py:40: undefined name 'def_op'
./usr/lib/python2.6/pkgutil.py:311: local variable 'mod_type' is assigned to but never used
./usr/lib/python2.6/sre_parse.py:17: 'from sre_constants import *' used; unable to detect undefined names
./usr/lib/python2.6/py_compile.py:70: redefinition of function 'set_creator_type' from line 67
./usr/lib/python2.6/pickle.py:29: 'from types import *' used; unable to detect undefined names
./usr/lib/python2.6/pickle.py:90: redefinition of unused 'PyStringMap' from line 88
./usr/lib/python2.6/pickle.py:506: redefinition of function 'save_string' from line 480
./usr/lib/python2.6/pickle.py:732: local variable 'memo' is assigned to but never used
./usr/lib/python2.6/pickle.py:1359: redefinition of unused 'StringIO' from line 1357
./usr/lib/python2.6/tempfile.py:39: redefinition of unused '_StringIO' from line 37
./usr/lib/python2.6/tempfile.py:47: redefinition of function '_set_cloexec' from line 44
./usr/lib/python2.6/tempfile.py:61: redefinition of unused '_thread' from line 59
./usr/lib/python2.6/posixpath.py:17: 'from genericpath import *' used; unable to detect undefined names
./usr/lib/python2.6/posixpath.py:19: undefined name 'isdir' in __all__
./usr/lib/python2.6/posixpath.py:19: undefined name 'commonprefix' in __all__
./usr/lib/python2.6/posixpath.py:19: undefined name 'exists' in __all__
./usr/lib/python2.6/posixpath.py:19: undefined name 'getctime' in __all__
./usr/lib/python2.6/posixpath.py:19: undefined name 'getsize' in __all__
./usr/lib/python2.6/posixpath.py:19: undefined name 'getmtime' in __all__
./usr/lib/python2.6/posixpath.py:19: undefined name 'getatime' in __all__
./usr/lib/python2.6/posixpath.py:19: undefined name 'isfile' in __all__
./usr/lib/python2.6/posixpath.py:142: local variable 'st' is assigned to but never used
./usr/lib/python2.6/inspect.py:118: redefinition of function 'ismemberdescriptor' from line 110
./usr/lib/python2.6/inspect.py:135: redefinition of function 'isgetsetdescriptor' from line 127
./usr/lib/python2.6/genericpath.py:18: local variable 'st' is assigned to but never used
./usr/lib/python2.6/ssl.py:63: 'CERT_OPTIONAL' imported but unused
./usr/lib/python2.6/ssl.py:65: 'RAND_add' imported but unused
./usr/lib/python2.6/ssl.py:65: 'RAND_egd' imported but unused
./usr/lib/python2.6/ssl.py:65: 'RAND_status' imported but unused
./usr/lib/python2.6/ssl.py:66: 'SSL_ERROR_SYSCALL' imported but unused
./usr/lib/python2.6/ssl.py:66: 'SSL_ERROR_WANT_X509_LOOKUP' imported but unused
./usr/lib/python2.6/ssl.py:66: 'SSL_ERROR_ZERO_RETURN' imported but unused
./usr/lib/python2.6/ssl.py:66: 'SSL_ERROR_INVALID_ERROR_CODE' imported but unused
./usr/lib/python2.6/ssl.py:66: 'SSL_ERROR_WANT_CONNECT' imported but unused
./usr/lib/python2.6/ssl.py:66: 'SSL_ERROR_SSL' imported but unused
./usr/lib/py./usr/lib/python2.6/socket.py:293: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python2.6/socket.py:293: invalid syntax
                    with warnings.catch_warnings():
                                 ^
./usr/lib/python2.6/os.py:758: invalid syntax
            bs = b""
                    ^
thon2.6/ssl.py:79: '_getnameinfo' imported but unused
./usr/lib/python2.6/warnings.py:384: redefinition of unused 'filters' from line 378
./usr/lib/python2.6/warnings.py:401: undefined name 'BytesWarning'
./usr/lib/python2.6/linecache.py:138: local variable 'msg' is assigned to but never used
./usr/lib/python2.6/subprocess.py:401: 'CREATE_NEW_CONSOLE' imported but unused
./usr/lib/python2.6/subprocess.py:839: undefined name 'WindowsError'
./usr/lib/python2.6/subprocess.py:957: redefinition of function '_get_handles' from line 702
./usr/lib/python2.6/subprocess.py:1017: redefinition of function '_execute_child' from line 783
./usr/lib/python2.6/subprocess.py:1158: redefinition of function '_internal_poll' from line 861
./usr/lib/python2.6/subprocess.py:1178: redefinition of function 'wait' from line 878
./usr/lib/python2.6/subprocess.py:1187: redefinition of function '_communicate' from line 892
./usr/lib/python2.6/subprocess.py:1261: redefinition of function 'send_signal' from line 938
./usr/lib/python2.6/subprocess.py:1266: redefinition of function 'terminate' from line 946
./usr/lib/python2.6/UserDict.py:100: local variable 'value' is assigned to but never used
./usr/lib/python2.6/platform.py:527: local variable 'why' is assigned to but never used
./usr/lib/python2.6/platform.py:563: redefinition of unused 'RegQueryValueEx' from line 559
./usr/lib/python2.6/platform.py:598: 'win32api' imported but unused
./usr/lib/python2.6/platform.py:614: redefinition of unused 'GetVersionEx' from line 599
./usr/lib/python2.6/platform.py:615: redefinition of unused 'RegQueryValueEx' from line 599
./usr/lib/python2.6/platform.py:616: redefinition of unused 'RegOpenKeyEx' from line 599
./usr/lib/python2.6/platform.py:617: redefinition of unused 'RegCloseKey' from line 599
./usr/lib/python2.6/platform.py:618: redefinition of unused 'HKEY_LOCAL_MACHINE' from line 601
./usr/lib/python2.6/platform.py:619: redefinition of unused 'VER_PLATFORM_WIN32_WINDOWS' from line 601
./usr/lib/python2.6/platform.py:620: redefinition of unused 'VER_PLATFORM_WIN32_NT' from line 601
./usr/lib/python2.6/platform.py:621: redefinition of unused 'VER_NT_WORKSTATION' from line 601
./usr/lib/python2.6/platform.py:676: undefined name 'WindowsError'
./usr/lib/python2.6/platform.py:753: 'gestalt' imported but unused
./usr/lib/python2.6/platform.py:754: 'MacOS' imported but unused
./usr/lib/python2.6/platform.py:781: undefined name 'versioninfo'
./usr/lib/python2.6/platform.py:854: 'java' imported but unused
./usr/lib/python2.6/sre_compile.py:15: 'from sre_constants import *' used; unable to detect undefined names
./usr/lib/python2.6/collections.py:4: 'from _abcoll import *' used; unable to detect undefined names
./usr/lib/python2.6/collections.py:58: local variable 'numfields' is assigned to but never used
./usr/lib/python2.6/collections.py:59: local variable 'argtxt' is assigned to but never used
./usr/lib/python2.6/collections.py:60: local variable 'reprtxt' is assigned to but never used
./usr/lib/python2.6/collections.py:61: local variable 'dicttxt' is assigned to but never used
./usr/lib/python2.6/dis.py:6: 'from opcode import *' used; unable to detect undefined names
./usr/lib/python2.6/sre.py:9: 'from re import *' used; unable to detect undefined names
./usr/lib/python2.6/sre.py:10: '__all__' imported but unused
./usr/lib/python2.6/sre.py:13: '_compile' imported but unused
./usr/lib/python2.6/_abcoll.py:283: undefined name 'next'
./usr/lib/python2.6/_abcoll.py:452: undefined name 'next'
./usr/lib/python2.6/StringIO.py:34: redefinition of unused 'EINVAL' from line 32
./usr/lib/python2.6/struct.py:1: 'from _struct import *' used; unable to detect undefined names
./usr/lib/python2.6/struct.py:2: '_clearcache' imported but unused
./usr/lib/python2.6/struct.py:3: '__doc__' imported but unused
./usr/lib/python2.6/encodings/uu_codec.py:85: local variable 'v' is assigned to but never used
./usr/lib/python2.6/encodings/quopri_codec.py:10: redefinition of unused 'StringIO' from line 8
./usr/lib/python2.6/logging/config.py:36: redefinition of unused 'thread' from line 33
./usr/lib/python2.6/logging/handlers.py:33: redefinition of unused 'codecs' from line 31
./usr/lib/python2.6/logging/handlers.py:180: local variable 'currentTime' is assigned to but never used
./usr/lib/python2.6/logging/handlers.py:514: local variable 'dummy' is assigned to but never used
./usr/lib/python2.6/logging/handlers.py:871: redefinition of unused 'formatdate' from line 869
./usr/lib/python2.6/logging/__init__.py:39: redefinition of unused 'codecs' from line 37
./usr/lib/python2.6/logging/__init__.py:45: redefinition of unused 'thread' from line 42

This report was generated on Sun, 02 Jan 2011 05:31:02 +0000, based on results by pyflakes 0.4.0-1