On 18 Aug, 2007, at 23:12, Bill Janssen wrote:
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.
python2.5 checks for sys.platform == 'darwin' and should therefore do the right thing.
Ronald
Bill _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig