SV: [ZODB-Dev] Flush

Magnus Heino magnus.heino@pleon.sigma.se
Thu, 31 Jan 2002 16:13:42 +0100


> >Can I make the ZODB not flush an object out from memory once it has been
> >loaded from disk?
>
> Using the C API yes. Look at PER_PREVENT_DEACTIVATION in
> cPersistence.h
>
> You cant do this from python. Why do you want to?

Because the object does start_new_thread in __setstate__, and _setstate__ is
called every now and then... :-P

/Magnus