The module is shelveimplemented on top of the module anydbm. This module acts as a facade for 4 different concrete DBM implementations, and it selects the first module available when creating a new database, in the following order:
dbhash
(deprecated but still the first choice anydbm). This is a proxy for the module bsddb, .open()reallybsddb.hashopen()
gdbm , the Python module for the GNU DBM library, which offers more functionality than the module dbm, can offer when used with the same library.
dbm , a proxy module using libraries ndbm, BSD DB and GNU DBM (selected when compiling Python).
dumbdbm , a pure-python implementation.
But on my system, although I have dbhash, for some reason I want it to create db only with dumbdbm.
How can i achieve this?
source
share