[Python-Dev] Berkeley DB

Skip Montanaro skip@mojam.com (Skip Montanaro)
Tue, 25 Jul 2000 13:05:24 -0500 (CDT)

    Andrew> The latter.  The existing module still works fine, particularly
    Andrew> if you just need a DBM-like file that can also be traversed in
    Andrew> sorted-key order, but it's not compatible with the current
    Andrew> BerkeleyDB code.

The only thing that's needed to use the current bsddb module interface with
libdb 2.x is to include db_185.h instead of db.h.  You don't get all the 2.x
functionality, but you do get the less buggy libdb implementation.  I've
been using it like that for a couple years.