PersistentList (ZODB)

Thomas Guettler pan-newsreader at thomas-guettler.de
Tue Nov 19 12:21:48 EST 2002


Hi!

I use PersistentList v1.3 from Zope2.6.

If I do the following

mylist=PersistentList()
type(mylist)
mylist.append(5)
mylist=[1, 2, 3] # (*)
type(mylist)

mylist is not a PersistentList anymore. Is there
a way to change PersistentList that way that the line
marked with (*) does not delete the PersistentList,
but creates a new empty one?

This would bring me one big step towards programming nirvana:
     "Don't care for persistence!"

 thomas

-- 
Thomas Guettler <guettli at thomas-guettler.de>
http://www.thomas-guettler.de



More information about the Python-list mailing list