From: Ronald Oussoren Date: Tue, 28 Sep 2010 14:38:31 +0000 (+0000) Subject: Fix for issue #9568. X-Git-Tag: v3.2a3~123 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=01c428999a7051f197ef1d56b70c385e0ea95cbd;p=thirdparty%2FPython%2Fcpython.git Fix for issue #9568. --- diff --git a/Misc/NEWS b/Misc/NEWS index dfabd85d1958..8d8a9b3e5a70 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -263,6 +263,8 @@ Tests - Issue #9323: Make test.regrtest.__file__ absolute, this was not always the case when running profile or trace, for example. +- Issue #9568: Fix test_urllib2_localnet on OS X 10.3. + Build ----- diff --git a/Modules/_scproxy.c b/Modules/_scproxy.c index af11ba7472b7..3b2a38ea32fa 100644 --- a/Modules/_scproxy.c +++ b/Modules/_scproxy.c @@ -80,7 +80,7 @@ get_proxy_settings(PyObject* mod __attribute__((__unused__))) v = PyBool_FromLong(cfnum_to_int32(aNum)); } } else { - v = PyBool_FromLong(1); + v = PyBool_FromLong(0); } if (v == NULL) goto error;