[Pythonmac-SIG] Carbon bindings' future

Ronald Oussoren ronaldoussoren at mac.com
Mon May 12 12:37:01 CEST 2008


Folks,

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

* Remove all version except the one using SystemConfiguration

* Add "noproxy" function

* Add support for https, ftp and gopher

* More defensive programming

I'm going to do some testing with this version if everything works for  
me I'll add this to python2.6.

This doesn't support "proxy autoconfiguration", but I don't think  
that's possible to do within the structure of urllib and would require  
a JavaScript engine anyway.

Ronald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: urllib_without_carbon.py
Type: text/x-python-script
Size: 7535 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20080512/81497672/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



More information about the Pythonmac-SIG mailing list