[Zope-dev] Help: __getstate__ overriding

Dieter Maurer dieter at handshake.de
Sun May 30 13:09:07 EDT 2004


Tim Peters wrote at 2004-5-28 14:51 -0400:
> ...
>This appears to be one of those "severely underdocumented" minefields.  The
>best older thread I found is here:
>
>    http://mail.zope.org/pipermail/zodb-dev/2002-March/002442.html
>
>but it doesn't actually spell out something "that works" in the way you
>want.

I think, this is a ZODB buglet:

  It should set "_p_changed = 0" before it calls "__setstate__"
  and not afterwards...

-- 
Dieter



More information about the Zope-Dev mailing list