Lines Matching defs:dbm
9 import dbm
10 _dbmerror = dbm.error
12 dbm = None
14 # dbm test
24 - the module name (e.g. "dbm" or "gdbm") if recognized.
30 # Check for dbm first -- this has a .pag and a .dir file
34 # dbm linked with gdbm on OS/2 doesn't have .dir file
35 if not (dbm.library == "GNU gdbm" and sys.platform == "os2emx"):
38 return "dbm"
40 # some dbm emulations based on Berkeley DB generate a .db file
45 # guarantee we can actually open the file using dbm
48 if dbm is not None:
49 d = dbm.open(filename)
51 return "dbm"
93 # Check for GNU dbm