Raymond Hettinger <rhettin...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue3783> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com