[Pyobjc-dev] PyGUI breakage with recent PyobjC
Brought to you by:
ronaldoussoren
From: Greg E. <gre...@ca...> - 2010-10-15 09:20:48
|
I've just tried to run PyGUI on 10.6 using the latest version of PyObjC, and it's broken in a major way. I have some Python subclasses of ObjC classes, and they include some methods that are only called from Python. I've been using Python naming conventions for these methods, which used to work fine, but now PyObjC seems to be treating them as ObjC method names, and complaining that the number of underscores in them doesn't match the number of arguments they take. Is this right? Are we now required to use PyObjC method naming conventions for *all* methods in an ObjC subclass, even if they will never be called from ObjC? If so, is there some way of marking methods as Python-only so that they are exempt from this requirement? -- Greg |