[Twisted-Python] persistence interface

Itamar Shtull-Trauring itamar at itamarst.org
Sun Sep 15 14:15:29 EDT 2002

So now we have the following persistence APIs:

1. getStateToPersist
2. getStateToCopy
3. __getstate__
4. Whatever it is marmalade is using

I don't see any difference between (1) and (3), since they both return 
dictionary that is used in persistence. Just make the requirements for 
__getstate__ to be more strict when implementing IPersistence.

How many persistence APIs do we need?!

Itamar Shtull-Trauring    http://itamarst.org/
Available for Python, Twisted, Zope and Java consulting

More information about the Twisted-Python mailing list