Re: [Pyobjc-dev] FYI: Open Source Scripting Layer For Cocoa
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2003-06-09 08:04:00
|
On Sunday, Jun 8, 2003, at 18:39 Europe/Amsterdam, Just van Rossum wrote: > Jack Jansen wrote: > >> or an object >> browser, packaged in such a way that an ObjC programmer with no Python >> knowledge can easily plug it in his/her existing program. > > Can we reach ivars from objects who's class is not defined in Python, > from Python? We could somewhere between 0.6 and 0.7, but then I noticed that instance variables often have the same name as the getter method for that variable. All machinery is still there, it would not be too hard to add 'obj.pyobjc_instanceVariables' as special notation to allow access to instance variables (just like we do for methods). I'm going to dust off my code for writing a Python based plugin bundle, that should make it possible to inspect any Cocoa program that supports plugins :-) Ronald |