@@ -0,0 +1,498 @@
+%22%22%22Provide a (g)dbm-compatible interface to bsddb.hashopen.%22%22%22%0A%0Aimport sys%0Aimport warnings%0Awarnings.warnpy3k(%22in 3.x, the dbhash module has been removed%22, stacklevel=2)%0Atry:%0A    import bsddb%0Aexcept ImportError:%0A    # prevent a second import of this module from spuriously succeeding%0A    del sys.modules%5B__name__%5D%0A    raise%0A%0A__all__ = %5B%22error%22,%22open%22%5D%0A%0Aerror = bsddb.error                     # Exported for anydbm%0A%0Adef open(file, flag = 'r', mode=0666):%0A    return bsddb.hashopen(file, flag, mode)%0A

add dbhash library to circumvent restricted mode