[Python-ideas] Replacing shelve in the next 3.x release.

Antoine Pitrou solipsis at pitrou.net
Mon May 7 21:25:19 CEST 2012


On Mon, 7 May 2012 22:20:56 +0300
Yuval Greenfield <ubershmekel at gmail.com>
wrote:
> I used shelve for a long time on multiple projects as it's really easy to
> use but I had to deal with random data corruption on abrupt process
> termination. That was my motivator to implement an sqlite backend for
> shelve though I guess I wasn't motivated strongly enough to follow through.

Atomic replacement of the shelve file is probably an improvement worth
adding.

Regards

Antoine.





More information about the Python-ideas mailing list