[Python-3000] plat-mac seriously broken?

Ronald Oussoren ronaldoussoren at mac.com
Fri Nov 2 07:23:45 CET 2007


On 1 Nov, 2007, at 18:24, Brett Cannon wrote:

> On 11/1/07, Bill Janssen <janssen at parc.com> wrote:
>>> On the bright side: Carbon is basicly dead: there will be no new
>>> development on Carbon and it also not supported in 64-bit mode (at
>>> least the GUI bits).
>>
>> Unfortunately, the "gotcha" is that some existing functionality is  
>> not
>> available via Objective-C (yet?); I looked at this when writing an
>> MDQuery interface for Python, and found that I needed to use the
>> Carbon bindings instead of the ObjC ones.  For the GUI bits, Ronald
>> is right, but there's lots of stuff in plat-mac that isn't about the
>> GUI (all of it!?).
>
> Can we identify what the modules are then that cannot be reproduced in
> Objective-C yet (and thus through PyObjC)?  Considering Apple has said
> Carbon's hey-day is over and people need to move over to Cocoa, maybe
> Py3K just take the leap and say if you need Carbon, you stick with
> 2.x, otherwise Py3K is requiring you modernize your Mac code and move
> to Cocoa and PyObjC.

The MDQuery API's are not Carbon, but CoreFoundation. The latter is  
available through the very latest version of PyObjC (the one that  
ships with Leopard).

Someone will have to go over the rest of plat-mac to check which bits  
are worth saving/modernizing. There is a lot of  ancient and barely  
tested junk in there.  I don't mind being that someone, but don't know  
when I'll be able to do that.

Ronald
>
>
> -Brett

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2224 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-3000/attachments/20071102/7f1a607f/attachment.bin 


More information about the Python-3000 mailing list