RE: [Zope-dev] Help: __getstate__ overriding

2004-05-30 Thread Dieter Maurer
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

RE: [Zope-dev] Help: __getstate__ overriding

2004-05-30 Thread Tim Peters
[Dieter Maurer] I think, this is a ZODB buglet: It should set _p_changed = 0 before it calls __setstate__ and not afterwards... I don't know; Jim (or Jeremy) may know the reasoning here, but I don't. Activation currently sets the state to changed *before* calling __setstate__ too. A