[Zope] Values lost when restarting

Michael Bernstein webmaven at cox.net
Wed Jan 10 05:04:29 EST 2007


On Tue, 2007-01-09 at 17:09 +0100, Andreas Jung wrote:
> 
> --On 9. Januar 2007 17:06:24 +0100 Jonas Nielsen <jonasn at mail.tele.dk> 
> wrote:
> 
> > The "Zope Bible" says something about calling self.__changed__(1) after
> > updating the value but this doesn't seem to work even though the objects
> > inherits from "Persistent"
> 
> self._p_changed = 1

Well, I suppose that's the final nail in the coffin for the Zope Bible
(like it actually *needed* another one at this point).

I think the self.__changed__(1) spelling I used was deprecated even
before I wrote the book, and I guess the supporting code must have been
taken out of the ZODB since then.

So, just shoot me and go pre-order Philipp's book now:
http://www.amazon.com/exec/obidos/ASIN/3540338071/fiawol/ref=nosim

Cheers all,

- Michael R. Bernstein
  michaelbernstein.com



More information about the Zope mailing list