On 12/1/06, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > At 10:19 AM 12/1/2006 -0800, Guido van Rossum wrote: > >On 12/1/06, Fred L. Drake, Jr. <[EMAIL PROTECTED]> 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.
I know (I should, since I wrote the code :-) but I think the solution could be much cleaner. -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
