[ZODB-Dev] __setstate__ and mixins

Christian Reis kiko@async.com.br
Mon, 7 Oct 2002 20:29:33 -0300


On Mon, Oct 07, 2002 at 07:23:32PM -0400, Jeremy Hylton wrote:
> The Persistent base class defines a default __getstate__().  Whether
> it gets called or one of your methods gets called depends on the
> method resolution order.

You mean a default __setstate__(), I guess. Does it do anything useful?

As far as I can understand cPersistence.c, it just does basic sanity
checking, right?

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL