[issue3783] dbm.sqlite proof of concept

Raymond Hettinger report at bugs.python.org
Wed Feb 4 21:18:57 CET 2009


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

FWIW, I put an alternative in the sandbox /dbm_sqlite/alt/dbdict.py and
am attaching a copy here.  The idea is to emulate gdbm's fast mode and
delay all writes until closing.  That lets us subclass from dict and get
high-speed lookups, sets, and deletions.  Freeing ourselves from an DB
also gets us a choice of ultra-portable file formats (json, csv, pickle,
eval).

----------
priority:  -> low
Added file: http://bugs.python.org/file12939/dbdict.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3783>
_______________________________________


More information about the Python-bugs-list mailing list