[Twisted-Python] IFoo(x, persist=1)

Glyph Lefkowitz glyph at divmod.com
Fri Apr 23 13:57:06 EDT 2004

Itamar Shtull-Trauring wrote:

>I know this is used a lot (the weakref persistence stuff). Should it be
>option of adaptation or perhaps of adapter registration? Trying to see
>how to fit this in to zope3's, which doesn't do this, and it'd be nice
>to have it as part of their core code rather than ours.
> =

>  =

It should probably be an attribute of the adapter itself; the persist =

flag is generally about semantics that the adapter expects, not its =

clients.  (Clients of an adapter generally shouldn't be using 'is' anyway.)

More information about the Twisted-Python mailing list