On Thu, 29 Jul 2010 09:18:04 -0400, Aaron Bentley <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 07/29/2010 05:37 AM, Abel Deuring wrote: > > Right. This means that I forgot to include DBItem in the tuple > > factory.unwrapped_types. > > It doesn't seem very good to have a list of types that we don't have to > proxy. Updating this list is already causing conflicts. Can't we > determine which objects were supposed to be proxied from the Zope machinery?
from zope.security import checker dont_wrap = checker.BasicTypes.get(type(ob)) == checker.NoProxy is a start. Cheers, mwh _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp

