[Zope] Best Class for Persistent, Ordered List
Ross Boylan
RossBoylan@stanfordalumni.org
Sat, 27 Jul 2002 22:02:25 -0700
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.