[Zope-dev] Optional C extensions

Jim Fulton jim at zope.com
Wed Mar 10 07:05:00 EST 2010


On Tue, Mar 9, 2010 at 6:15 PM, Tim Hoffman <zutesmog at gmail.com> wrote:
> Hi
>
> As Attila pointed out, zope.proxy is possible to implement using
> peak.util.proxies
> if you only want some limited zope.proxy support.  You won't get
> zope.security going down
> this path.
>
> I do that specifically so that I can use zope.deferredimport on app engine.
>
> Below is the awful hacking I do to zope.proxy.__init__ to make it
> support zope.deferredimport on appengine.

Please don't encourage this.

People reading this, please forget you read Tim's email. :)
(Jim whips out special pen and asks that everyone look in his
direction for a moement.)

zope.deferred import should, perhaps, be modified to use
peak.util.proxies, but we should not have packages floating around
that modify zope.proxy to weaken it.

I wish I had agitated to make changes to Python to make deferred
imports use of zope.proxy unnecessary.

Jim

-- 
Jim Fulton


More information about the Zope-Dev mailing list