[Twisted-Python] Lock classes for berkely dbm files

Itamar Shtull-Trauring itamar at itamarst.org
Sun Feb 13 23:08:32 EST 2005


On Sun, 2005-02-13 at 19:09 -0800, snacktime wrote:

> My thought was this.  It sure would be a lot simpler to just use a
> lock class and the python built in dbm functions than having to use
> the newer bsddb3 module and worry about BerkeleyDb environments and
> transactions.

The Python built in dbm functions use gdbm or an old version of bsddb or
a broken python dbm. They are half broken or worse. They will corrupt
your data when your program or machine crashes.






More information about the Twisted-Python mailing list