28 Jul
2002
28 Jul
'02
5:02 a.m.
I want the semantics of python lists with persistence; in particular, I want to be sure that if I put objects in the list I will later get them out in the same order. I have been using PersistentList, borrowed from somewhere, that is basically a regular list with a little persistence machinery tickling added. I notice that there are BTree classes and related set classes, in particular OOSet. Does anyone know if that preserves order? From the name and the test suite it looks as if it doesn't, even though it has sequence semantics. I've looked at the c source only enough to see the answer is not immediately obvious there! So will OOSet do what I want? If not, is something else appropriate? Thanks.