[Pythonmac-SIG] Python, Jython, Cocoa and Charleroi

Jack Jansen Jack.Jansen@cwi.nl
Fri, 14 Jun 2002 15:23:31 +0200

On Monday, June 3, 2002, at 07:43 , Dinu Gherman wrote:
> Jython and Cocoa could work very nicely together! Apple has an
> equivalent Java API for its frameworks and I find it to be more
> natural to use than anything pyobjc-like that I've seen so far,
> one reason being that it doesn't result in plenty of underscores
> and parantheses that seem to be needed for simulating Objective-
> C's method signatures in Python.

What's the convention used by Apple's Java<->ObjC bridge? I don't like 
all the
underscores either, and if Apple decided not to do any underscores I 
think pyobjc
should follow suit. It could always have a compile-time option to give 
the old
_ names, for backward compatibility.

> Also, pyobjc development seems to be more or less stalled (?), so
> I've never been sure what to expect from that side in the not so
> distant future.

Well, as mentioned here before there's now three of us happily hacking 
at it.
Unfortunately the folks over at the pyobjc mailing list are in deep 
slumber: two
of my mails are still waiting in their mail queue (and have been for 
almost 2 weeks
now) and a message directly to Steven Majevski has also remained 
unanswered, so
I think he's off on holidays or otherwise occupied.

> I've added below some of the most simple test functions from my
> growing test suite just to give you an idea...

Do you have an example of a Jython program with a NIB? That's what we're 
currently working on
for pyobjc, and we're getting some positive results (we have a Python 
applet with a .nib
and it fills an on-screen table with data from a Python table source 
object (just before
crashing hard:-)), but it would be nice to see how things are done in 
- Jack Jansen        <Jack.Jansen@oratrix.com>        
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- Emma 
Goldman -