Debian Automated Code Analysis

pyflakes analysis of python3.2-minimal_3.2-2_i386.deb

./usr/lib/python3.2/abc.py:120: invalid syntax
                     for name, value in namespace.items()
                        ^
./usr/lib/python3.2/string.py:89: invalid syntax
class Template(metaclass=_TemplateMetaclass):
                         ^
./usr/lib/python3.2/glob.py:76: invalid syntax
magic_check_bytes = re.compile(b'[*?[]')
                                       ^
./usr/lib/python3.2/optparse.py:1384: invalid syntax
        except (BadOptionError, OptionValueError) as err:
                                                    ^
./usr/lib/python3.2/tokenize.py:291: invalid syntax
            return b''
                      ^
./usr/lib/python3.2/site.py:150: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python3.2/site.py:150: invalid syntax
    with f:
          ^
./usr/lib/python3.2/pkgutil.py:244: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python3.2/pkgutil.py:244: invalid syntax
        with open(pathname, "rb") as file:
                 ^
./usr/lib/python3.2/sre_parse.py:101: invalid syntax
            print(level*"  " + op, end=' '); nl = 0
                                       ^
./usr/lib/python3.2/token.py:72: invalid syntax
            for name, value in globals().items()
               ^
./usr/lib/python3.2/py_compile.py:111: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python3.2/py_compile.py:111: invalid syntax
    with tokenize.open(file) as f:
                 ^
./usr/lib/python3.2/runpy.py:80: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python3.2/runpy.py:80: invalid syntax
    with _TempModule(mod_name) as temp_module, _ModifiedArgv0(mod_fname):
                    ^
./usr/lib/python3.2/sitecustomize.py: No such file or directory
./usr/lib/python3.2/pickle.py:106: invalid syntax
MARK           = b'('   # push special markobject on stack
                     ^
./usr/lib/python3.2/tempfile.py:172: invalid syntax
                fd = _os.open(filename, _bin_openflags, 0o600)
                                                             ^
./usr/lib/python3.2/argparse.py:1148: invalid syntax
        except IOError as e:
                         ^
./usr/lib/python3.2/codecs.py:16: invalid syntax
except ImportError as why:
                     ^
./usr/lib/python3.2/posixpath.py:40: invalid syntax
        return b'/'
                   ^
./usr/lib/python3.2/random.py:142: invalid syntax
            except ValueError as e:
                                ^
./usr/lib/python3.2/stat.py:22: invalid syntax
    return mode & 0o7777
                        ^
./usr/lib/python3.2/configparser.py:533: invalid syntax
                except KeyError as e:
                                  ^
./usr/lib/python3.2/ssl.py:227: invalid syntax
            except socket_error as e:
                                  ^
./usr/lib/python3.2/warnings.py:92: invalid syntax
        except _OptionError as msg:
                              ^
./usr/lib/python3.2/linecache.py:131: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python3.2/linecache.py:131: invalid syntax
        with tokenize.open(fullname) as fp:
                     ^
./usr/lib/python3.2/compileall.py:105: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python3.2/compileall.py:105: invalid syntax
                    with open(cfile, 'rb') as chandle:
                             ^
./usr/lib/python3.2/functools.py:152: invalid syntax
                nonlocal hits, misses
                             ^
./usr/lib/python3.2/subprocess.py:446: invalid syntax
        except OSError as e:
                         ^
./usr/lib/python3.2/socket.py:141: invalid syntax
    def makefile(self, mode="r", buffering=None, *,
                                                   ^
./usr/lib/python3.2/platform.py:351: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python3.2/platform.py:351: invalid syntax
    with open('/etc/'+file, 'r') as f:
             ^
./usr/lib/python3.2/collections.py:333: invalid syntax
    except SyntaxError as e:
                         ^
./usr/lib/python3.2/io.py:78: invalid syntax
class IOBase(_io._IOBase, metaclass=abc.ABCMeta):
                                    ^
./usr/lib/python3.2/_weakrefset.py:59: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python3.2/_weakrefset.py:59: invalid syntax
        with _IterationGuard(self):
                            ^
./usr/lib/python3.2/os.py:128: invalid syntax
def makedirs(name, mode=0o777, exist_ok=False):
                             ^
./usr/lib/python3.2/weakref.py:131: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python3.2/weakref.py:131: invalid syntax
        with _IterationGuard(self):
                            ^
./usr/lib/python3.2/re.py:220: invalid syntax
    b"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890")
                                                                      ^
./usr/lib/python3.2/base64.py:89: invalid syntax
        s = _translate(s, {chr(altchars[0]): b'+', chr(altchars[1]): b'/'})
                                                 ^
./usr/lib/python3.2/sysconfig.py:174: invalid syntax
        except KeyError as var:
                          ^
./usr/lib/python3.2/dis.py:48: invalid syntax
                except TypeError as msg:
                                   ^
./usr/lib/python3.2/_abcoll.py:26: invalid syntax
bytes_iterator = type(iter(b''))
                              ^
./usr/lib/python3.2/keyword.py:64: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python3.2/keyword.py:64: invalid syntax
    with open(iptfile) as fp:
             ^
./usr/lib/python3.2/hashlib.py:103: invalid syntax
def __py_new(name, data=b''):
                           ^
./usr/lib/python3.2/encodings/uu_codec.py:17: invalid syntax
def uu_encode(input, errors='strict', filename='<data>', mode=0o666):
                                                                   ^
./usr/lib/python3.2/encodings/punycode.py:77: invalid syntax
digits = b"abcdefghijklmnopqrstuvwxyz0123456789"
                                                ^
./usr/lib/python3.2/encodings/idna.py:10: invalid syntax
ace_prefix = b"xn--"
                    ^
./usr/lib/python3.2/logging/config.py:522: invalid syntax
                        except Exception as e:
                                           ^
./usr/lib/python3.2/copy.py:63: redefinition of unused 'PyStringMap' from line 61
./usr/lib/python3.2/copy.py:193: undefined name 'bytes'
./usr/lib/python3.2/locale.py:48: 'from _locale import *' used; unable to detect undefined names
./usr/lib/python3.2/locale.py:110: redefinition of function 'localeconv' from line 64
./usr/lib/python3.2/locale.py:145: local variable 'result' is assigned to but never used
./usr/lib/python3.2/locale.py:146: local variable 'seps' is assigned to but never used
./usr/lib/python3.2/locale.py:524: redefinition of function 'setlocale' from line 88
./usr/lib/python3.2/locale.py:562: redefinition of function 'getpreferredencoding' from line 552
./usr/lib/python3.2/locale.py:571: redefinition of function 'getpreferredencoding' from line 562
./usr/lib/python3.2/heapq.py:307: 'from _heapq import *' used; unable to detect undefined names
./usr/lib/python3.2/heapq.py:348: redefinition of function 'nsmallest' from line 199
./usr/lib/python3.2/heapq.py:385: redefinition of function 'nlargest' from line 183
./usr/lib/python3.2/opcode.py:32: undefined name 'def_op'
./usr/lib/python3.2/opcode.py:36: undefined name 'def_op'
./usr/lib/python3.2/opcode.py:40: undefined name 'def_op'
./usr/lib/python3.2/bisect.py:90: 'from _bisect import *' used; unable to detect undefined names
./usr/lib/python3.2/textwrap.py:10: 'string' imported but unused
./usr/lib/python3.2/inspect.py:36: 'string' imported but unused
./usr/lib/python3.2/inspect.py:129: redefinition of function 'ismemberdescriptor' from line 121
./usr/lib/python3.2/inspect.py:146: redefinition of function 'isgetsetdescriptor' from line 138
./usr/lib/python3.2/inspect.py:760: local variable 'step' is assigned to but never used
./usr/lib/python3.2/inspect.py:977: undefined name 'next'
./usr/lib/python3.2/sre_compile.py:15: 'from sre_constants import *' used; unable to detect undefined names
./usr/lib/python3.2/reprlib.py:10: redefinition of unused 'get_ident' from line 8
./usr/lib/python3.2/fnmatch.py:43: undefined name 'bytes'
./usr/lib/python3.2/fnmatch.py:52: undefined name 'bytes'
./usr/lib/python3.2/fnmatch.py:70: undefined name 'bytes'
./usr/lib/python3.2/struct.py:3: undefined name 'Struct' in __all__
./usr/lib/python3.2/struct.py:3: undefined name 'pack_into' in __all__
./usr/lib/python3.2/struct.py:3: undefined name 'calcsize' in __all__
./usr/lib/python3.2/struct.py:3: undefined name 'error' in __all__
./usr/lib/python3.2/struct.py:3: undefined name 'unpack' in __all__
./usr/lib/python3.2/struct.py:3: undefined name 'unpack_from' in __all__
./usr/lib/python3.2/struct.py:3: undefined name 'pack' in __all__
./usr/lib/python3.2/struct.py:12: 'from _struct import *' used; unable to detect undefined names
./usr/lib/python3.2/struct.py:13: '_clearcache' imported but unused
./usr/lib/python3.2/struct.py:14: '__doc__' imported but unused
./usr/lib/python3.2/encodings/hex_codec.py:39: undefined name 'bytes'
./usr/lib/python3.2/encodings/hex_codec.py:42: undefined name 'bytes'
./usr/lib/python3.2/encodings/quopri_codec.py:40: undefined name 'bytes'
./usr/lib/python3.2/encodings/quopri_codec.py:43: undefined name 'bytes'
./usr/lib/python3.2/encodings/base64_codec.py:39: undefined name 'bytes'
./usr/lib/python3.2/encodings/base64_codec.py:42: undefined name 'bytes'
./usr/lib/python3.2/encodings/__init__.py:55: undefined name 'bytes'
./usr/lib/python3.2/encodings/zlib_codec.py:61: undefined name 'bytes'
./usr/lib/python3.2/encodings/zlib_codec.py:64: undefined name 'bytes'
./usr/lib/python3.2/logging/handlers.py:35: redefinition of unused 'codecs' from line 33
./usr/lib/python3.2/logging/handlers.py:511: local variable 'dummy' is assigned to but never used
./usr/lib/python3.2/logging/__init__.py:41: redefinition of unused 'codecs' from line 39
./usr/lib/python3.2/logging/__init__.py:47: redefinition of unused 'thread' from line 44

This report was generated on Fri, 22 Apr 2011 06:29:42 +0000, based on results by pyflakes 0.4.0-1