[Python-Dev] Python 2.6.4rc1

Ronald Oussoren ronaldoussoren at mac.com
Thu Oct 8 11:49:38 CEST 2009


On 7 Oct, 2009, at 23:09, Barry Warsaw wrote:

> 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.

I've commited the patch (r75282)

Ronald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3567 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20091008/72f30a67/attachment.bin>


More information about the Python-Dev mailing list