Python 2.6.1 urllib error on Mac os x PPC

ati atiware at
Wed Mar 4 01:07:39 CET 2009

On Tue, 2009-03-03 at 14:10 -0800, Ned Deily wrote:
> Ah, "OS X Server" and "2.5.4 works fine"!  For 2.6, I see that the 
> getproxies code in urllib was re-written to eliminate use of the 
> deprecated python mac Carbon interfaces and instead use ctypes to call 
> the SystemConfiguration framework directly.  It could very well be that 
> there are differences in the proxy configurations between OS X and OS X 
> Server.  It wouldn't surprise me if that hasn't been tested by anyone 
> yet; unfortunately, I don't have an OS X Server instance handy to try it 
> myself.

> I guess the easiest workaround would be to patch to avoid 
> those calls to SystemConfiguration.  Look at getproxies_macosx_sysconf.  
> If the OS X Server system is in on a network that doesn't require HTTP 
> proxies, return an empty dict, otherwise hardwire in the proxy 
> configuration.  Ugh.

hmm.. i think, i don't want to patch it.. i will be wait for the python
developers. i am not a python developer and i am too busy to play with
this workaround..

> You should open a tracker issue about this at  
> And nice job documenting the problem!

thanks :)

issue is opened:

thank you for your answers.

More information about the Python-list mailing list