Released a new version of the python interface to BerkeleyDB 3.1 today. It now works with python 1.5.2 and 1.6 out of the box. Get py-bsddb3 2.2.0 here.
I am very happy with the python distutils package. I just converted py-bsddb3 to use it. I have noticed the roughness around the edges in terms of unimplemented or undocumented features but the code is easy enough to read to quickly figure out what it can currently do. (though I do have to say I prefer undocumented features to unimplemented but documented features!)
(sigh) I should join the python-dev mailing list. For a while py-bsddb3 was being considered for addition to the next python release but I haven't been able to follow up on that. Someone even started creating an un-swigified version that I should try and make time to follow up on.
busy busy busy...