Debian Automated Code Analysis

pyflakes analysis of python3-bsddb3_4.8.3-3_i386.deb

./usr/lib/python3/dist-packages/bsddb3/dbshelve.py:76: invalid syntax
def open(filename, flags=db.DB_CREATE, mode=0o660, filetype=db.DB_HASH,
                                                 ^
./usr/lib/python3/dist-packages/bsddb3/__init__.py:344: invalid syntax
def hashopen(file, flag='c', mode=0o666, pgsize=None, ffactor=None, nelem=None,
                                       ^
./usr/lib/python3/dist-packages/bsddb3/test_support.py:25: invalid syntax
    except OSError as e:
                     ^
./usr/lib/python3/dist-packages/bsddb3/dbtables.py:137: invalid syntax
    def __init__(self, filename, dbhome, create=0, truncate=0, mode=0o600,
                                                                         ^
./usr/lib/python3/dist-packages/bsddb3/tests/test_thread.py:425: invalid syntax
            except (db.DBLockDeadlockError, db.DBLockNotGrantedError) as val:
                                                                        ^
./usr/lib/python3/dist-packages/bsddb3/tests/test_distributed_transactions.py:36: invalid syntax
                db.DB_INIT_LOCK, 0o666)
                                      ^
./usr/lib/python3/dist-packages/bsddb3/tests/test_early_close.py:36: invalid syntax
                   0o666)
                        ^
./usr/lib/python3/dist-packages/bsddb3/tests/test_sequence.py:19: invalid syntax
        self.dbenv.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL, 0o666)
                                                                            ^
./usr/lib/python3/dist-packages/bsddb3/tests/test_replication.py:32: invalid syntax
                db.DB_INIT_REP | db.DB_RECOVER | db.DB_THREAD, 0o666)
                                                                    ^
./usr/lib/python3/dist-packages/bsddb3/tests/test_compare.py:259: invalid syntax
        except RuntimeError as msg:
                              ^
./usr/lib/python3/dist-packages/bsddb3/tests/test_pickle.py:43: invalid syntax
        except db.DBError as egg:
                            ^
./usr/lib/python3/dist-packages/bsddb3/tests/test_all.py:515: invalid syntax
        os.makedirs(path,mode=0o700)
                                   ^
./usr/lib/python3/dist-packages/bsddb3/tests/test_dbenv.py:57: invalid syntax
            for i in [0o600, 0o660, 0o666] :
                           ^
./usr/lib/python3/dist-packages/bsddb3/tests/test_basics.py:39: invalid syntax
    dbmode       = 0o660
                        ^
./usr/lib/python3/dist-packages/bsddb3/dbobj.py:37: redefinition of unused 'DictMixin' from line 34
./usr/lib/python3/dist-packages/bsddb3/db.py:48: 'from _pybsddb import *' used; unable to detect undefined names
./usr/lib/python3/dist-packages/bsddb3/db.py:51: 'from _bsddb import *' used; unable to detect undefined names
./usr/lib/python3/dist-packages/bsddb3/db.py:52: redefinition of unused '__version__' from line 49
./usr/lib/python3/dist-packages/bsddb3/db.py:52: '__version__' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_cursor_pget_bug.py:2: 'os' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_cursor_pget_bug.py:2: 'glob' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_cursor_pget_bug.py:4: 'get_new_database_path' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_compat.py:6: 'string' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_compat.py:57: local variable 'rec' is assigned to but never used
./usr/lib/python3/dist-packages/bsddb3/tests/test_compat.py:61: local variable 'rec' is assigned to but never used
./usr/lib/python3/dist-packages/bsddb3/tests/test_compat.py:71: undefined name 'next'
./usr/lib/python3/dist-packages/bsddb3/tests/test_compat.py:114: undefined name 'next'
./usr/lib/python3/dist-packages/bsddb3/tests/test_compat.py:166: local variable 'rec' is assigned to but never used
./usr/lib/python3/dist-packages/bsddb3/tests/test_compat.py:170: local variable 'rec' is assigned to but never used
./usr/lib/python3/dist-packages/bsddb3/tests/test_misc.py:4: 'os' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_misc.py:7: 'get_new_database_path' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_misc.py:34: undefined name 'bytes'
./usr/lib/python3/dist-packages/bsddb3/tests/test_misc.py:68: local variable 't' is assigned to but never used
./usr/lib/python3/dist-packages/bsddb3/tests/test_lock.py:8: 'get_new_database_path' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_lock.py:17: redefinition of unused 'currentThread' from line 15
./usr/lib/python3/dist-packages/bsddb3/tests/test_get_none.py:8: 'verbose' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_get_none.py:43: undefined name 'next'
./usr/lib/python3/dist-packages/bsddb3/tests/test_get_none.py:73: undefined name 'next'
./usr/lib/python3/dist-packages/bsddb3/tests/test_dbobj.py:2: 'string' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_dbobj.py:2: 'os' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_dbobj.py:5: 'get_new_database_path' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_dbtables.py:23: 'os' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_dbtables.py:28: undefined name 'cPickle'
./usr/lib/python3/dist-packages/bsddb3/tests/test_dbtables.py:28: redefinition of unused 'pickle' from line 27
./usr/lib/python3/dist-packages/bsddb3/tests/test_dbtables.py:32: redefinition of unused 'pickle' from line 30
./usr/lib/python3/dist-packages/bsddb3/tests/test_dbtables.py:35: 'db' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_dbtables.py:35: 'get_new_database_path' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_dbtables.py:86: undefined name 'bytes'
./usr/lib/python3/dist-packages/bsddb3/tests/test_dbtables.py:129: undefined name 'bytes'
./usr/lib/python3/dist-packages/bsddb3/tests/test_db.py:2: 'os' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_db.py:2: 'glob' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_join.py:4: 'os' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_join.py:8: 'dbshelve' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_join.py:8: 'get_new_database_path' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_dbshelve.py:54: undefined name 'bytes'
./usr/lib/python3/dist-packages/bsddb3/tests/test_dbshelve.py:93./usr/lib/python3/dist-packages/bsddb3/tests/test_recno.py:44: invalid syntax
                print(recno, end=' ')
                                 ^
: local variable 'f' is assigned to but never used
./usr/lib/python3/dist-packages/bsddb3/tests/test_dbshelve.py:208: undefined name 'bytes'
./usr/lib/python3/dist-packages/bsddb3/tests/test_fileid.py:4: 'os' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_associate.py:5: 'string' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_associate.py:5: 'sys' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_associate.py:5: 'os' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_associate.py:6: 'time' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_associate.py:7: 'pprint' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_associate.py:403: undefined name 'Thread'
./usr/lib/python3/dist-packages/bsddb3/tests/test_associate.py:405: undefined name 'Thread'

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