[Python-3000] iostack and Oh Oh
Phillip J. Eby
pje at telecommunity.com
Fri Dec 1 19:37:54 CET 2006
At 10:19 AM 12/1/2006 -0800, Guido van Rossum wrote:
>On 12/1/06, Fred L. Drake, Jr. <fdrake at acm.org> wrote:
> > On Friday 01 December 2006 12:08, tomer filiba wrote:
> > > i would still like to understand how object proxying (e.g., weakrefs,
> > > RPyC), could work when all/most frameworks/libraries would be based on
> > > ABCs.
> >
> > That's a realy problem. zope.interface works hard to deal with
> proxies, but
> > it probably only works with proxies based on zope.proxy.
>
>I think the proper solution is to make isinstance() overridable by the
>instance.
It already is, and has been since Python 2.3, in large part to support
zope-style proxying. It's also leveraged by my ProxyTypes package in the
Cheeseshop, and by a few bits of code in Chandler.
More information about the Python-3000
mailing list