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



On Wed, Oct 7, 2009 at 12:42, Ronald Oussoren <ronaldousso...@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

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to