Debian Automated Code Analysis

pyflakes analysis of python3-bsddb3_5.1.2-1_i386.deb

./usr/lib/python3/dist-packages/bsddb3/dbshelve.py:101: invalid syntax
def open(filename, flags=db.DB_CREATE, mode=0o660, filetype=db.DB_HASH,
                                                 ^
./usr/lib/python3/dist-packages/bsddb3/__init__.py:351: 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:159: invalid syntax
    def __init__(self, filename, dbhome, create=0, truncate=0, mode=0o600,
                                                                         ^
./usr/lib/python3/dist-packages/bsddb3/tests/test_thread.py:411: invalid syntax
            except (db.DBLockDeadlockError, db.DBLockNotGrantedError) as val:
                                                                        ^
./usr/lib/python3/dist-packages/bsddb3/tests/test_distributed_transactions.py:41: 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_pickle.py:43: invalid syntax
        except db.DBError as egg:
                            ^
./usr/lib/python3/dist-packages/bsddb3/tests/test_all.py:517: invalid syntax
        os.makedirs(path,mode=0o700)
                                   ^
./usr/lib/python3/dist-packages/bsddb3/tests/test_dbenv.py:76: invalid syntax
            for i in [0o600, 0o660, 0o666] :
                           ^
./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:62: local variable 'rec' is assigned to but never used
./usr/lib/python3/dist-packages/bsddb3/tests/test_compat.py:66: local variable 'rec' is assigned to but never used
./usr/lib/python3/dist-packages/bsddb3/tests/test_compat.py:76: undefined name 'next'
./usr/lib/python3/dist-packages/bsddb3/tests/test_compat.py:119: undefined name 'next'
./usr/lib/python3/dist-packages/bsddb3/tests/test_compat.py:171: local variable 'rec' is assigned to but never used
./usr/lib/python3/dist-packages/bsddb3/tests/test_compat.py:175: 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:40: undefined name 'bytes'
./usr/lib/python3/dist-packages/bsddb3/tests/test_misc.py:74: 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_compare.py:5: 'os' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_compare.py:6: 'test_all' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_compare.py:11: 'get_new_database_path' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_compare.py:11: 'dbshelve' imported but unused
./usr/lib/python3/dist-packages/bsddb3/tests/test_compare.py:143: undefined name 'next'
./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:48: undefined name 'next'
./usr/lib/python3/dist-packages/bsddb3/tests/test_get_none.py:78: 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:91: undefined name 'bytes'
./usr/lib/python3/dist-packages/bsddb3/tests/test_dbtables.py:134: 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./usr/lib/python3/dist-packages/bsddb3/tests/test_basics.py:39: invalid syntax
    dbmode       = 0o660
                        ^
./usr/lib/python3/dist-packages/bsddb3/tests/test_recno.py:53: invalid syntax
                print(recno, end=' ')
                                 ^
' 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:66: undefined name 'bytes'
./usr/lib/python3/dist-packages/bsddb3/tests/test_dbshelve.py:105: local variable 'f' is assigned to but never used
./usr/lib/python3/dist-packages/bsddb3/tests/test_dbshelve.py:230: 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:413: undefined name 'Thread'
./usr/lib/python3/dist-packages/bsddb3/tests/test_associate.py:415: undefined name 'Thread'

This report was generated on Sat, 23 Apr 2011 06:29:12 +0000, based on results by pyflakes 0.4.0-1