bsddb btree sorting order

Jane Austine janeaustine50 at hotmail.com
Sat Oct 2 13:54:24 EDT 2004


Hello.

How do I change the BTree sorting order with bsddb, instead of the
default lexicographical order? After studying sleepycat's document, I
found there is a function call for setting the compare callback,
set_bt_compare. It even seems like got into pybsddb patch list
(http://sourceforge.net/tracker/index.php?func=detail&aid=532308&group_id=13900&atid=313900).
However, the current Python source tree (cvs) doesn't include the
patch.

I have no idea how those two projects(pybsddb and bsddb in standard
lib) are going together, or where I could ask about this. Why hasn't
the patch got through the main Python cvs?

Any workarounds except modifying the source?



More information about the Python-list mailing list