Message73775
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 |
|
Date |
User |
Action |
Args |
2008-09-25 10:50:14 | erno | set | recipients:
+ erno, skip.montanaro, rhettinger, gregory.p.smith, jcea, ghaering, josiahcarlson, pitrou, gregburd |
2008-09-25 10:50:14 | erno | set | messageid: <1222339814.01.0.290403724908.issue3783@psf.upfronthosting.co.za> |
2008-09-25 10:50:13 | erno | link | issue3783 messages |
2008-09-25 10:50:12 | erno | create | |
|