Re: [Pyobjc-dev] posing
Brought to you by:
ronaldoussoren
From: Jack J. <Jac...@cw...> - 2003-01-20 16:13:25
|
Can't we have two types of bridging objects, both of which share the __pyobc_pythonImplementation__ method but implemented in a different way? In the cheap bridged object you would have the instance variable and __pyobc_pythonImplementation__ would simply return that. In the All Singing All Dancing bridged object __pyobc_pythonImplementation__ would be implemented using a global dict. (There would need to be auxiliary routines to set and break the link between the objc and python objects too). I assume the Python programmer will know which of the objects would need to be subclasses of the expensive object... -- Jack Jansen, <Jac...@cw...>, http://www.cwi.nl/~jack If I can't dance I don't want to be part of your revolution -- Emma Goldman |