At 01:45 PM 12/1/2006 -0500, Jim Jewett wrote:
>Why can't your proxy be a derived class that claims to inherit
>from those same base classes, but just happens to override all the
>methods (and attributes).

Because that means you can't use generic proxy objects (e.g. zope.proxy or 
ProxyTypes).

Luckily, however, proxies can lie about their __class__ (since Python 2.3) 
and thereby fool isinstance().

_______________________________________________
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

Reply via email to