[Zope] Object without Undo?

Paul Winkler pw_lists@slinkp.com
Sat, 13 Apr 2002 14:18:03 -0400


On Fri, Apr 12, 2002 at 01:55:51PM -0700, Terry Hancock wrote:
> Hmm. I only really expect them to last a few minutes, the
> question is just whether Zope will be able to find them
> at all.

Why wouldn't it find them? I'm not really
following the subtleties here...

> (Also how to avoid using persistent! -- I assume
> ObjectManager does, I guess it would mean rewriting
> a lot of code as I don't think there's such a thing as 
> anti-inheriting (keyword "disown"? there's a suggestion
> for the next version of Python! :D )

You could find out which methods and/or attributes
cause it to be persistent, and override those,
possibly with a method that just does "pass".
A bit of work.

Could you do us all a favor, and do a bried writeup if you
manage to get it working nicely? Non-persistent objects
would be nice sometimes, and all the docs I've ever seen
(e.g. Boring and the "minimal" product) assume you want
persistence...

-- 

Paul Winkler
home:  http://www.slinkp.com
"Muppet Labs, where the future is made - today!"