Is bsddb.pyd thread safe in 1.5.2 (win95)
Ron Klatchko
ron at library.ucsf.edu
Fri Jul 30 13:47:20 EDT 1999
Ian Clarke wrote:
> Is there any way to find out which version of dbm the 1.5.2 bsddb.pyd file
> is based on?
Python's bsddb module uses the DB 1.* interface. You can compile it
against the DB 2.* by changing the include from:
#include <db.h>
to:
#include <db_185.h>
which implements a compatibility interface. I've been looking at the
internals of the bsddb module to have it detect which version it's using
and to handle things appropriately but don't have anything production
quality yet.
moo
----------------------------------------------------------------------
Ron Klatchko - Manager, Advanced Technology Group
UCSF Library and Center for Knowledge Management
ron at library.ucsf.edu
More information about the Python-list
mailing list