[Pythonmac-SIG] Does urllib.getproxies() work in 2.4/2.5 on Mac?
Bill Janssen
janssen at parc.com
Sun Aug 19 09:52:56 CEST 2007
> I noticed that with the system Python 2.3.5 on OS X 10.4, the
> automatic proxy setting doesn't work for urlopen(). It's because the
> code in urllib.py expects os.name() to return 'mac', and instead it
> returns 'posix'.
>
> Is this fixed in later versions of Python, anyone know? You can test
> by calling "urllib.getproxies()" and seeing if it returns your
> proxysettings.
Silly of me -- I should have just looked.
Jack Jansen fixed it in 2004.
Bill
More information about the Pythonmac-SIG
mailing list