Debian Automated Code Analysis

pyflakes analysis of python3.1-minimal_3.1.3-1_i386.deb

./usr/lib/python3.1/abc.py:80: invalid syntax
                     for name, value in namespace.items()
                        ^
./usr/lib/python3.1/string.py:46: invalid syntax
def maketrans(frm: bytes, to: bytes) -> bytes:
                  ^
./usr/lib/python3.1/glob.py:76: invalid syntax
magic_check_bytes = re.compile(b'[*?[]')
                                       ^
./usr/lib/python3.1/optparse.py:1384: invalid syntax
        except (BadOptionError, OptionValueError) as err:
                                                    ^
./usr/lib/python3.1/tokenize.py:321: invalid syntax
            return b''
                      ^
./usr/lib/python3.1/site.py:141: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python3.1/site.py:141: invalid syntax
    with f:
          ^
./usr/lib/python3.1/pkgutil.py:529: invalid syntax
            except IOError as msg:
                             ^
./usr/lib/python3.1/sre_parse.py:101: invalid syntax
            print(level*"  " + op, end=' '); nl = 0
                                       ^
./usr/lib/python3.1/token.py:98: invalid syntax
    except IOError as err:
                     ^
./usr/lib/python3.1/py_compile.py:89: invalid syntax
            m = re.match(br".*\bcoding:\s*(\S+)\b", line)
                                                  ^
./usr/lib/python3.1/runpy.py:88: invalid syntax
        except ImportError as e:
                             ^
./usr/lib/python3.1/sitecustomize.py: No such file or directory
./usr/lib/python3.1/pickle.py:106: invalid syntax
MARK           = b'('   # push special markobject on stack
                     ^
./usr/lib/python3.1/tempfile.py:181: invalid syntax
                fd = _os.open(filename, _bin_openflags, 0o600)
                                                             ^
./usr/lib/python3.1/codecs.py:16: invalid syntax
except ImportError as why:
                     ^
./usr/lib/python3.1/posixpath.py:40: invalid syntax
        return b'/'
                   ^
./usr/lib/python3.1/random.py:131: invalid syntax
            except ValueError as e:
                                ^
./usr/lib/python3.1/stat.py:22: invalid syntax
    return mode & 0o7777
                        ^
./usr/lib/python3.1/configparser.py:596: invalid syntax
                except KeyError as e:
                                  ^
./usr/lib/python3.1/ssl.py:110: invalid syntax
            except socket_error as e:
                                  ^
./usr/lib/python3.1/warnings.py:92: invalid syntax
        except _OptionError as msg:
                              ^
./usr/lib/python3.1/linecache.py:131: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python3.1/linecache.py:131: invalid syntax
        with open(fullname, 'rb') as fp:
                 ^
./usr/lib/python3.1/compileall.py:91: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python3.1/compileall.py:91: invalid syntax
                    with open(cfile, 'rb') as chandle:
                             ^
./usr/lib/python3.1/subprocess.py:402: invalid syntax
        except OSError as e:
                         ^
./usr/lib/python3.1/socket.py:123: invalid syntax
    def makefile(self, mode="r", buffering=None, *,
                                                   ^
./usr/lib/python3.1/platform.py:504: invalid syntax
        except os.error as why:
                          ^
./usr/lib/python3.1/collections.py:276: invalid syntax
    except SyntaxError as e:
                         ^
./usr/lib/python3.1/io.py:78: invalid syntax
class IOBase(_io._IOBase, metaclass=abc.ABCMeta):
                                    ^
./usr/lib/python3.1/_weakrefset.py:59: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python3.1/_weakrefset.py:59: invalid syntax
        with _IterationGuard(self):
                            ^
./usr/lib/python3.1/os.py:122: invalid syntax
def makedirs(name, mode=0o777):
                             ^
./usr/lib/python3.1/weakref.py:131: Warning: 'with' will become a reserved keyword in Python 2.6
./usr/lib/python3.1/weakref.py:131: invalid syntax
        with _IterationGuard(self):
                            ^
./usr/lib/python3.1/re.py:219: invalid syntax
    b"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890")
                                                                      ^
./usr/lib/python3.1/base64.py:86: invalid syntax
        s = _translate(s, {chr(altchars[0]): b'+', chr(altchars[1]): b'/'})
                                                 ^
./usr/lib/python3.1/dis.py:34: invalid syntax
                except TypeError as msg:
                                   ^
./usr/lib/python3.1/_abcoll.py:26: invalid syntax
bytes_iterator = type(iter(b''))
                              ^
./usr/lib/python3.1/encodings/punycode.py:78: invalid syntax
digits = b"abcdefghijklmnopqrstuvwxyz0123456789"
                                                ^
./usr/lib/python3.1/encodings/idna.py:10: invalid syntax
ace_prefix = b"xn--"
                    ^
./usr/lib/python3.1/logging/config.py:320: invalid syntax
            except socket.error as e:
                                  ^
./usr/lib/python3.1/copy.py:63: redefinition of unused 'PyStringMap' from line 61
./usr/lib/python3.1/copy.py:193: undefined name 'bytes'
./usr/lib/python3.1/locale.py:48: 'from _locale import *' used; unable to detect undefined names
./usr/lib/python3.1/locale.py:110: redefinition of function 'localeconv' from line 64
./usr/lib/python3.1/locale.py:133: local variable 'last_interval' is assigned to but never used
./usr/lib/python3.1/locale.py:142: local variable 'result' is assigned to but never used
./usr/lib/python3.1/locale.py:143: local variable 'seps' is assigned to but never used
./usr/lib/python3.1/locale.py:521: redefinition of function 'setlocale' from line 88
./usr/lib/python3.1/locale.py:559: redefinition of function 'getpreferredencoding' from line 549
./usr/lib/python3.1/locale.py:568: redefinition of function 'getpreferredencoding' from line 559
./usr/lib/python3.1/heapq.py:310: 'from _heapq import *' used; unable to detect undefined names
./usr/lib/python3.1/heapq.py:351: redefinition of function 'nsmallest' from line 201
./usr/lib/python3.1/heapq.py:388: redefinition of function 'nlargest' from line 185
./usr/lib/python3.1/opcode.py:32: undefined name 'def_op'
./usr/lib/python3.1/opcode.py:36: undefined name 'def_op'
./usr/lib/python3.1/opcode.py:40: undefined name 'def_op'
./usr/lib/python3.1/bisect.py:90: 'from _bisect import *' used; unable to detect undefined names
./usr/lib/python3.1/textwrap.py:10: 'string' imported but unused
./usr/lib/python3.1/inspect.py:36: 'string' imported but unused
./usr/lib/python3.1/inspect.py:38: 'dis' imported but unused
./usr/lib/python3.1/inspect.py:118: redefinition of function 'ismemberdescriptor' from line 110
./usr/lib/python3.1/inspect.py:135: redefinition of function 'isgetsetdescriptor' from line 127
./usr/lib/python3.1/inspect.py:761: local variable 'step' is assigned to but never used
./usr/lib/python3.1/genericpath.py:18: local variable 'st' is assigned to but never used
./usr/lib/python3.1/functools.py:10: 'reduce' imported but unused
./usr/lib/python3.1/sre_compile.py:15: 'from sre_constants import *' used; unable to detect undefined names
./usr/lib/python3.1/fnmatch.py:48: undefined name 'bytes'
./usr/lib/python3.1/fnmatch.py:51: undefined name 'bytes'
./usr/lib/python3.1/fnmatch.py:54: undefined name 'bytes'
./usr/lib/python3.1/struct.py:3: undefined name 'Struct' in __all__
./usr/lib/python3.1/struct.py:3: undefined name 'calcsize' in __all__
./usr/lib/python3.1/struct.py:3: undefined name 'error' in __all__
./usr/lib/python3.1/struct.py:3: undefined name 'unpack' in __all__
./usr/lib/python3.1/struct.py:3: undefined name 'unpack_from' in __all__
./usr/lib/python3.1/struct.py:3: undefined name 'pack' in __all__
./usr/lib/python3.1/struct.py:12: 'from _struct import *' used; unable to detect undefined names
./usr/lib/python3.1/struct.py:13: '_clearcache' imported but unused
./usr/lib/python3.1/struct.py:14: '__doc__' imported but unused
./usr/lib/python3.1/encodings/__init__.py:55: undefined name 'bytes'
./usr/lib/python3.1/logging/handlers.py:33: redefinition of unused 'codecs' from line 31
./usr/lib/python3.1/logging/handlers.py:206: undefined name 'ST_MTIME'
./usr/lib/python3.1/logging/handlers.py:510: local variable 'dummy' is assigned to but never used
./usr/lib/python3.1/logging/handlers.py:865: redefinition of unused 'formatdate' from line 863
./usr/lib/python3.1/logging/__init__.py:39: redefinition of unused 'codecs' from line 37
./usr/lib/python3.1/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