This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author erno
Recipients erno, ghaering, gregburd, gregory.p.smith, jcea, josiahcarlson, pitrou, rhettinger, skip.montanaro
Date 2008-09-25.10:50:12
SpamBayes Score 3.0217723e-10
Marked as misclassified No
Message-id <1222339814.01.0.290403724908.issue3783@psf.upfronthosting.co.za>
In-reply-to
Content
I'm looking for a bsddb-shelve replacement (because of we bsddb
corruption problems), and decided to give this a try. Don't overlook
the free locking you get from sqlite when evaluating this for inclusion!

A small bug:

>>> from sq_dict import shelve
>>> shelve('zz', 'c')[42] = 2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "sq_dict.py", line 144, in __setitem__
    key = self._check_key(key)
  File "sq_dict.py", line 287, in _check_key
    (", ".join(i.__name__ for i in self._allowed_keys), type(key)))
NameError: global name 'self' is not defined
History
Date User Action Args
2008-09-25 10:50:14ernosetrecipients: + erno, skip.montanaro, rhettinger, gregory.p.smith, jcea, ghaering, josiahcarlson, pitrou, gregburd
2008-09-25 10:50:14ernosetmessageid: <1222339814.01.0.290403724908.issue3783@psf.upfronthosting.co.za>
2008-09-25 10:50:13ernolinkissue3783 messages
2008-09-25 10:50:12ernocreate