Debian Automated Code Analysis

pyflakes analysis of python2.7-minimal_2.7.1-7_i386.deb

./usr/lib/python2.7/site.py:151: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python2.7/site.py:151: invalid syntax
    with f:
          ^
./usr/lib/python2.7/py_compile.py:106: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python2.7/py_compile.py:106: invalid syntax
    with open(file, 'U') as f:
             ^
./usr/lib/python2.7/shutil.py:81: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python2.7/shutil.py:81: invalid syntax
    with open(src, 'rb') as fsrc:
             ^
./usr/lib/python2.7/runpy.py:79: Warning: 'with' will become a reserved keyword in Python 2.6
./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/codecs.py:268: invalid syntax
        return (b"", 0)
                   ^
./usr/lib/python2.7/ssl.py:299: invalid syntax
        except socket_error as e:
                              ^
./usr/lib/python2.7/linecache.py:132: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python2.7/linecache.py:132: invalid syntax
        with open(fullname, 'rU') as fp:
                 ^
./usr/lib/python2.7/compileall.py:90: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python2.7/compileall.py:90: invalid syntax
                    with open(cfile, 'rb') as chandle:
                             ^
./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/string.py:599: undefined name 'format'
./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:1394: 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/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/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/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 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/inspect.py:912: undefined name 'next'
./usr/lib/python2.7/inspect.py:918: undefined name 'next'
./usr/lib/python2.7/inspect.py:968: undefined name 'next'
./usr/lib/python2.7/warnings.py:378: redefinition of unused 'filters' from line 372
./usr/lib/python2.7/warnings.py:399: undefined name 'BytesWarning'
./usr/lib/python2.7/functools.py:10: 'reduce' imported bu./usr/lib/python2.7/subprocess.py:731: invalid syntax
                    except IOError as e:
                                     ^
./usr/lib/python2.7/socket.py:565: invalid syntax
        except error as _:
                       ^
./usr/lib/python2.7/_weakrefset.py:59: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python2.7/_weakrefset.py:59: invalid syntax
        with _IterationGuard(self):
                            ^
./usr/lib/python2.7/os.py:754: invalid syntax
            bs = b""
                    ^
./usr/lib/python2.7/base64.py:346: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python2.7/base64.py:346: invalid syntax
        with open(args[0], 'rb') as f:
                 ^
./usr/lib/python2.7/sysconfig.py:227: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python2.7/sysconfig.py:227: invalid syntax
    with open(filename) as f:
             ^
t unused
./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:13: '_ifilter' imported but unused
./usr/lib/python2.7/collections.py:18: redefinition of unused 'get_ident' from line 16
./usr/lib/python2.7/collections.py:279: local variable 'numfields' is assigned to but never used
./usr/lib/python2.7/collections.py:280: local variable 'argtxt' is assigned to but never used
./usr/lib/python2.7/collections.py:281: local variable 'reprtxt' is assigned to but never used
./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/_abcoll.py:283: undefined name 'next'
./usr/lib/python2.7/_abcoll.py:469: undefined name 'next'
./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 Thu, 21 Apr 2011 06:31:07 +0000, based on results by pyflakes 0.4.0-1