[Python-3000] iostack and Oh Oh (original) (raw)
Bill Janssen janssen at parc.com
Fri Dec 1 20:15:33 CET 2006
- Previous message: [Python-3000] iostack and Oh Oh
- Next message: [Python-3000] iostack and Oh Oh
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-3000] iostack and Oh Oh
- Next message: [Python-3000] iostack and Oh Oh
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]