> 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().
My guess is that support for weakrefs and/or RPC proxies (something with which I have a lot of experience, so I appreciate the point) would want to use some kind of "sneaky" mechanism like that. We should probably make sure that there's an easy-to-use standard "sneaky" mechanism -- perhaps just lying about the __class__ (in a safe way) is enough. Bill _______________________________________________ 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
