Guido van Rossum wrote: > On 4/28/07, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote: > >> >>> class X(object): >> ... __class__ = property(lambda self: int) > > I'm not particularly enamored with it, but I believe it once served a > purpose for Zope. Does anyone know if it is still needed?
I thought you wanted this so that proxy objects can pretend to be instances of the class they're proxying. -- Greg _______________________________________________ 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
