From 01c428999a7051f197ef1d56b70c385e0ea95cbd Mon Sep 17 00:00:00 2001 From: Ronald Oussoren Date: Tue, 28 Sep 2010 14:38:31 +0000 Subject: [PATCH] Fix for issue #9568. --- Misc/NEWS | 2 ++ Modules/_scproxy.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Misc/NEWS b/Misc/NEWS index dfabd85d195..8d8a9b3e5a7 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 af11ba7472b..3b2a38ea32f 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;