[issue3783] dbm.sqlite proof of concept
Josiah Carlson
report at bugs.python.org
Thu Sep 11 20:26:45 CEST 2008
Josiah Carlson <josiahcarlson at users.sourceforge.net> added the comment:
> I like Skip's version better, because it's closer to the dbm
> "specification" instead of trying to mimic bsddb (first, last, etc.).
> I'd like to keep such things out.
dbm.sqlite is meant as a potential replacement of dbm.bsddb. Since
people do use the extra methods (.first(), .last(), etc.), not having
them could lead to breakage.
Separating them out into a subclass (regular open doesn't have it, but
btopen does), along with all of the other order guarantees (the ORDER BY
clauses in the SQL statements), could keep it fast for people who don't
care about ordering, and keep it consistent for those who do care about
ordering.
Attached you will find an updated version.
Added file: http://bugs.python.org/file11467/sq_dict.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3783>
_______________________________________
More information about the Python-bugs-list
mailing list