[Pythonmac-SIG] Carbon bindings' future

Daniel Miller daniel at keystonewood.com
Fri Apr 11 17:51:02 CEST 2008


Hi Ronald,

Will this work (see attached)?

~ Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: urllib_getproxies_internetconfig.py
Type: text/x-python-script
Size: 1376 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20080411/ec4cda25/attachment.bin 
-------------- next part --------------



On Apr 11, 2008, at 2:05 AM, Ronald Oussoren wrote:
> Folks,
>
> The removal of the Carbon bindings shouldn't  impact the  
> functionality of the rest of the standard library. This means we  
> need to do some work though, because urllib relies on the Carbon  
> bindings to get the current proxy settings.
>
> The best way to fix that (IMO of course) is to write a small C  
> extension that uses the Carbon API's to fetch that data into a  
> dictionary. All code for that is present in the Python source tree,  
> but in Python instead of in C. Hence writing the extension should  
> be easy enough.
>
> Is anyone game for writing this extension?
>
> Ronald
>
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig



More information about the Pythonmac-SIG mailing list