[Python-Dev] Python 2.6.4rc1

Barry Warsaw barry at python.org
Wed Oct 7 23:09:21 CEST 2009


On Oct 7, 2009, at 3:46 PM, Brett Cannon wrote:

>
>
> On Wed, Oct 7, 2009 at 12:42, Ronald Oussoren  
> <ronaldoussoren at mac.com> wrote:
>
> On 7 Oct, 2009, at 20:53, Brett Cannon wrote:
>
>> I just tried building out of svn and a ton of tests that rely on  
>> urllib failed because the _scproxy module wasn't built and it  
>> unconditionally imports it under darwin. Turns out that it requires  
>> the Mac toolbox glue to be built which I always skip since I don't  
>> care about it.
>>
>> I am fairly certain this toolbox glue dependency for urllib is a  
>> regression as I used to always be able to get networking working w/ 
>> o the Mac-specific modules.
>
> Bummer. _scproxy was introduced in 2.6.3 to fix a crash in the  
> ctypes based code it replaces, as well as very vague failures in the  
> same code on OSX 10.5 Server on PPC machines.
>
> Luckily the fix is easy enough: move some code in setup.py from the  
> block that checks for "not --disable-toolbox-glue", the _scproxy  
> module has no dependencies on the toolbox glue.
>
> The attached patch should fix the issue,
>
>
> Patch fixed it. Barry, can Ronald apply the patch?

Since this is a 2.6.3 regression, yes.

Thanks,
-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 832 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/python-dev/attachments/20091007/a29f7b1d/attachment.pgp>


More information about the Python-Dev mailing list