Debian Automated Code Analysis

pyflakes analysis of python2.7-minimal_2.7.2-2_i386.deb

./usr/lib/python2.7/runpy.py:79: invalid syntax
    with _TempModule(mod_name) as temp_module, _ModifiedArgv0(mod_fname):
                                              ^
./usr/lib/python2.7/sitecustomize.py: No such file or directory
./usr/lib/python2.7/copy.py:62: redefinition of unused 'PyStringMap' from line 60
./usr/lib/python2.7/string.py:528: 'whitespace' imported but unused
./usr/lib/python2.7/string.py:528: 'maketrans' imported but unused
./usr/lib/python2.7/optparse.py:92: redefinition of unused 'gettext' from line 90
./usr/lib/python2.7/optparse.py:832: redefinition of function 'isbasestring' from line 829
./usr/lib/python2.7/optparse.py:1399: local variable 'stop' is assigned to but never used
./usr/lib/python2.7/popen2.py:171: redefinition of function 'popen2' from line 141
./usr/lib/python2.7/popen2.py:178: undefined name 'Popen3'
./usr/lib/python2.7/popen2.py:181: redefinition of function 'popen3' from line 151
./usr/lib/python2.7/popen2.py:188: undefined name 'Popen3'
./usr/lib/python2.7/popen2.py:191: redefinition of function 'popen4' from line 161
./usr/lib/python2.7/popen2.py:198: undefined name 'Popen4'
./usr/lib/python2.7/heapq.py:315: 'from _heapq import *' used; unable to detect undefined names
./usr/lib/python2.7/heapq.py:356: redefinition of function 'nsmallest' from line 207
./usr/lib/python2.7/heapq.py:393: redefinition of function 'nlargest' from line 191
./usr/lib/python2.7/tokenize.py:30: 'from token import *' used; unable to detect undefined names
./usr/lib/python2.7/tokenize.py:392: local variable 'strstart' is assigned to but never used
./usr/lib/python2.7/site.py:164: local variable 'err' is assigned to but never used
./usr/lib/python2.7/site.py:246: local variable 'user_base' is assigned to but never used
./usr/lib/python2.7/site.py:512: 'sitecustomize' imported but unused
./usr/lib/python2.7/site.py:526: 'usercustomize' imported but unused
./usr/lib/python2.7/opcode.py:32: undefined name 'def_op'
./usr/lib/python2.7/opcode.py:36: undefined name 'def_op'
./usr/lib/python2.7/opcode.py:40: undefined name 'def_op'
./usr/lib/python2.7/pkgutil.py:311: local variable 'mod_type' is assigned to but never used
./usr/lib/python2.7/sre_parse.py:17: 'from sre_constants import *' used; unable to detect undefined names
./usr/lib/python2.7/bisect.py:90: 'from _bisect import *' used; unable to detect undefined names
./usr/lib/python2.7/shutil.py:18: redefinition of unused 'getpwnam' from line 16
./usr/lib/python2.7/shutil.py:23: redefinition of unused 'getgrnam' from line 21
./usr/lib/python2.7/shutil.py:41: undefined name 'WindowsError'
./usr/lib/python2.7/shutil.py:222: redefinition of function 'onerror' from line 219
./usr/lib/python2.7/shutil.py:248: local variable 'err' is assigned to but never used
./usr/lib/python2.7/shutil.py:435: redefinition of unused 'zipfile' from line 433
./usr/lib/python2.7/pickle.py:29: 'from types import *' used; unable to detect undefined names
./usr/lib/python2.7/pickle.py:90: redefinition of unused 'PyStringMap' from line 88
./usr/lib/python2.7/pickle.py:506: redefinition of function 'save_string' from line 480
./usr/lib/python2.7/pickle.py:732: local variable 'memo' is assigned to but never used
./usr/lib/python2.7/pickle.py:1367: redefinition of unused 'StringIO' from line 1365
./usr/lib/python2.7/tempfile.py:39: redefinition of unused '_StringIO' from line 37
./usr/lib/python2.7/tempfile.py:47: redefinition of function '_set_cloexec' from line 44
./usr/lib/python2.7/tempfile.py:61: redefinition of unused '_thread' from line 59
./usr/lib/python2.7/tempfile.py:415: redefinition of function '__exit__' from line 410
./usr/lib/python2.7/codecs.py:15: 'from _codecs import *' used; unable to detect undefined names
./usr/lib/python2.7/codecs.py:19: undefined name 'register_error' in __all__
./usr/lib/python2.7/codecs.py:19: undefined name 'register' in __all__
./usr/lib/python2.7/codecs.py:19: undefined name 'lookup' in __all__
./usr/lib/python2.7/codecs.py:19: undefined name 'lookup_error' in __all__
./usr/lib/python2.7/codecs.py:1088: 'encodings' imported but unused
./usr/lib/python2.7/ConfigParser.py:94: redefinition of unused '_default_dict' from line 91
./usr/lib/python2.7/ConfigParser.py:573: undefined name 'self_maps'
./usr/lib/python2.7/posixpath.py:18: 'from genericpath import *' used; unable ./usr/lib/python2.7/subprocess.py:1166: invalid syntax
                            closed = { None }
                                             ^
to detect undefined names
./usr/lib/python2.7/posixpath.py:20: undefined name 'isdir' in __all__
./usr/lib/python2.7/posixpath.py:20: undefined name 'commonprefix' in __all__
./usr/lib/python2.7/posixpath.py:20: undefined name 'exists' in __all__
./usr/lib/python2.7/posixpath.py:20: undefined name 'getctime' in __all__
./usr/lib/python2.7/posixpath.py:20: undefined name 'getsize' in __all__
./usr/lib/python2.7/posixpath.py:20: undefined name 'getmtime' in __all__
./usr/lib/python2.7/posixpath.py:20: undefined name 'getatime' in __all__
./usr/lib/python2.7/posixpath.py:20: undefined name 'isfile' in __all__
./usr/lib/python2.7/inspect.py:118: redefinition of function 'ismemberdescriptor' from line 110
./usr/lib/python2.7/inspect.py:135: redefinition of function 'isgetsetdescriptor' from line 127
./usr/lib/python2.7/ssl.py:62: 'OPENSSL_VERSION_NUMBER' imported but unused
./usr/lib/python2.7/ssl.py:62: 'OPENSSL_VERSION' imported but unused
./usr/lib/python2.7/ssl.py:62: 'OPENSSL_VERSION_INFO' imported but unused
./usr/lib/python2.7/ssl.py:64: 'CERT_OPTIONAL' imported but unused
./usr/lib/python2.7/ssl.py:65: 'RAND_add' imported but unused
./usr/lib/python2.7/ssl.py:65: 'RAND_egd' imported but unused
./usr/lib/python2.7/ssl.py:65: 'RAND_status' imported but unused
./usr/lib/python2.7/ssl.py:66: 'SSL_ERROR_SYSCALL' imported but unused
./usr/lib/python2.7/ssl.py:66: 'SSL_ERROR_WANT_X509_LOOKUP' imported but unused
./usr/lib/python2.7/ssl.py:66: 'SSL_ERROR_ZERO_RETURN' imported but unused
./usr/lib/python2.7/ssl.py:66: 'SSL_ERROR_INVALID_ERROR_CODE' imported but unused
./usr/lib/python2.7/ssl.py:66: 'SSL_ERROR_WANT_CONNECT' imported but unused
./usr/lib/python2.7/ssl.py:66: 'SSL_ERROR_SSL' imported but unused
./usr/lib/python2.7/ssl.py:90: '_getnameinfo' imported but unused
./usr/lib/python2.7/warnings.py:378: redefinition of unused 'filters' from line 372
./usr/lib/python2.7/functools.py:10: 'reduce' imported but unused
./usr/lib/python2.7/socket.py:48: 'from _socket import *' used; unable to detect undefined names
./usr/lib/python2.7/socket.py:53: '_ssl' imported but unused
./usr/lib/python2.7/socket.py:67: 'sslerror' imported but unused
./usr/lib/python2.7/socket.py:68: 'SSL_ERROR_SYSCALL' imported but unused
./usr/lib/python2.7/socket.py:68: 'SSL_ERROR_EOF' imported but unused
./usr/lib/python2.7/socket.py:68: 'RAND_add' imported but unused
./usr/lib/python2.7/socket.py:68: 'SSL_ERROR_WANT_READ' imported but unused
./usr/lib/python2.7/socket.py:68: 'SSL_ERROR_WANT_WRITE' imported but unused
./usr/lib/python2.7/socket.py:68: 'SSL_ERROR_WANT_X509_LOOKUP' imported but unused
./usr/lib/python2.7/socket.py:68: 'SSL_ERROR_ZERO_RETURN' imported but unused
./usr/lib/python2.7/socket.py:68: 'SSL_ERROR_INVALID_ERROR_CODE' imported but unused
./usr/lib/python2.7/socket.py:68: 'RAND_egd' imported but unused
./usr/lib/python2.7/socket.py:68: 'SSL_ERROR_WANT_CONNECT' imported but unused
./usr/lib/python2.7/socket.py:68: 'SSL_ERROR_SSL' imported but unused
./usr/lib/python2.7/socket.py:68: 'RAND_status' imported but unused
./usr/lib/python2.7/socket.py:87: redefinition of unused 'StringIO' from line 85
./usr/lib/python2.7/socket.py:92: redefinition of unused 'errno' from line 90
./usr/lib/python2.7/socket.py:402: undefined name 'data'
./usr/lib/python2.7/platform.py:534: local variable 'why' is assigned to but never used
./usr/lib/python2.7/platform.py:570: redefinition of unused 'RegQueryValueEx' from line 566
./usr/lib/python2.7/platform.py:605: 'win32api' imported but unused
./usr/lib/python2.7/platform.py:621: redefinition of unused 'GetVersionEx' from line 606
./usr/lib/python2.7/platform.py:622: redefinition of unused 'RegQueryValueEx' from line 606
./usr/lib/python2.7/platform.py:623: redefinition of unused 'RegOpenKeyEx' from line 606
./usr/lib/python2.7/platform.py:624: redefinition of unused 'RegCloseKey' from line 606
./usr/lib/python2.7/platform.py:625: redefinition of unused 'HKEY_LOCAL_MACHINE' from line 608
./usr/lib/python2.7/platform.py:626: redefinition of unused 'VER_PLATFORM_WIN32_WINDOWS' from line 608
./usr/lib/python2.7/platform.py:627: redefinition of unused 'VER_PLATFORM_WIN32_NT' from line 608
./usr/lib/python2.7/platform.py:628: redefinition of unused 'VER_NT_WORKSTATION' from line 608
./usr/lib/python2.7/platform.py:685: undefined name 'WindowsError'
./usr/lib/python2.7/platform.py:763: 'gestalt' imported but unused
./usr/lib/python2.7/platform.py:764: 'MacOS' imported but unused
./usr/lib/python2.7/platform.py:791: undefined name 'versioninfo'
./usr/lib/python2.7/platform.py:864: 'java' imported but unused
./usr/lib/python2.7/sre_compile.py:15: 'from sre_constants import *' used; unable to detect undefined names
./usr/lib/python2.7/collections.py:4: 'from _abcoll import *' used; unable to detect undefined names
./usr/lib/python2.7/collections.py:18: redefinition of unused '_get_ident' from line 16
./usr/lib/python2.7/collections.py:292: local variable 'numfields' is assigned to but never used
./usr/lib/python2.7/collections.py:293: local variable 'argtxt' is assigned to but never used
./usr/lib/python2.7/collections.py:294: local variable 'reprtxt' is assigned to but never used
./usr/lib/python2.7/os.py:44: 'from posix import *' used; unable to detect undefined names
./usr/lib/python2.7/os.py:58: 'from nt import *' used; unable to detect undefined names
./usr/lib/python2.7/os.py:60: redefinition of unused '_exit' from line 46
./usr/lib/python2.7/os.py:63: redefinition of unused 'path' from line 49
./usr/lib/python2.7/os.py:72: 'from os2 import *' used; unable to detect undefined names
./usr/lib/python2.7/os.py:74: redefinition of unused '_exit' from line 60
./usr/lib/python2.7/os.py:78: redefinition of unused 'path' from line 63
./usr/lib/python2.7/os.py:80: redefinition of unused 'path' from line 78
./usr/lib/python2.7/os.py:81: 'link' imported but unused
./usr/lib/python2.7/os.py:90: 'from ce import *' used; unable to detect undefined names
./usr/lib/python2.7/os.py:92: redefinition of unused '_exit' from line 74
./usr/lib/python2.7/os.py:96: redefinition of unused 'path' from line 80
./usr/lib/python2.7/os.py:105: 'from riscos import *' used; unable to detect undefined names
./usr/lib/python2.7/os.py:107: redefinition of unused '_exit' from line 92
./usr/lib/python2.7/os.py:110: redefinition of unused 'path' from line 96
./usr/lib/python2.7/os.py:413: redefinition of unused '_Environ' from line 410
./usr/lib/python2.7/os.py:430: redefinition of function '__delitem__' from line 427
./usr/lib/python2.7/dis.py:6: 'from opcode import *' used; unable to detect undefined names
./usr/lib/python2.7/sre.py:9: 'from re import *' used; unable to detect undefined names
./usr/lib/python2.7/sre.py:10: '__all__' imported but unused
./usr/lib/python2.7/sre.py:13: '_compile' imported but unused
./usr/lib/python2.7/StringIO.py:34: redefinition of unused 'EINVAL' from line 32
./usr/lib/python2.7/struct.py:1: 'from _struct import *' used; unable to detect undefined names
./usr/lib/python2.7/struct.py:2: '_clearcache' imported but unused
./usr/lib/python2.7/struct.py:3: '__doc__' imported but unused
./usr/lib/python2.7/encodings/uu_codec.py:85: local variable 'v' is assigned to but never used
./usr/lib/python2.7/encodings/quopri_codec.py:10: redefinition of unused 'StringIO' from line 8
./usr/lib/python2.7/logging/config.py:27: 'os' imported but unused
./usr/lib/python2.7/logging/config.py:34: redefinition of unused 'thread' from line 31
./usr/lib/python2.7/logging/config.py:807: 'tempfile' imported but unused
./usr/lib/python2.7/logging/handlers.py:33: redefinition of unused 'codecs' from line 31
./usr/lib/python2.7/logging/handlers.py:523: local variable 'dummy' is assigned to but never used
./usr/lib/python2.7/logging/__init__.py:39: redefinition of unused 'codecs' from line 37
./usr/lib/python2.7/logging/__init__.py:45: redefinition of unused 'thread' from line 42

This report was generated on Wed, 29 Jun 2011 06:34:48 +0000, based on results by pyflakes 0.4.0-1