<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 7 Oct, 2009, at 20:53, Brett Cannon wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">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.<div>

<br></div><div>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.</div></blockquote><div><br></div>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.</div><div><br></div><div>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.</div><div><br></div><div>The attached patch should fix the issue,</div><div><br></div><div>Ronald</div><div><br></div><div></div></body></html>