]> granicus.if.org Git - python/commitdiff
Fix for issue #9568.
authorRonald Oussoren <ronaldoussoren@mac.com>
Tue, 28 Sep 2010 14:38:31 +0000 (14:38 +0000)
committerRonald Oussoren <ronaldoussoren@mac.com>
Tue, 28 Sep 2010 14:38:31 +0000 (14:38 +0000)
Misc/NEWS
Modules/_scproxy.c

index dfabd85d1958bdcba12dbd7ba21b68986c3915ff..8d8a9b3e5a704edfe2ef9bac75b937f571519a5c 100644 (file)
--- 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
 -----
 
index af11ba7472b793da958eefa567bc213f7f161304..3b2a38ea32faae53590f4c13adbd61f0daaa6efb 100644 (file)
@@ -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;