[Pythonmac-SIG] Carbon bindings' future

Ronald Oussoren ronaldoussoren at mac.com
Mon May 12 12:49:32 CEST 2008


On 12 May, 2008, at 12:37, Ronald Oussoren wrote:

> Folks,
>
> Here's an updated version of Daniels work. Changes w.r.t. to Daniels  
> version:

Almost, but not quite.

This version actually works (the "enabled" keys in the  
SystemConfiguration dictionary have a CFNumber as theire value, not a  
CFBoolean).

Ronald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: urllib_without_carbon.py
Type: text/x-python-script
Size: 7536 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20080512/43deb653/attachment.bin>
-------------- next part --------------

>
>
> On 14 Apr, 2008, at 14:24, Daniel Miller wrote:
>
>> Thanks Nicholas,
>>
>>> The general CF rule is that if you use a function named *Get*,  
>>> then you don't need to CFRelease; if you use a function named  
>>> *Copy* or *Create*, you do.  So, what you've written looks fine.
>>
>> With that in mind one further modification seems to be necessary.  
>> Take three attached.
>>
>> ~ Daniel
>>
>> < 
>> urllib_contribution 
>> .py>_______________________________________________
>> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
>> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig



More information about the Pythonmac-SIG mailing list