From: Ronald Oussoren Date: Mon, 14 Mar 2011 22:46:50 +0000 (-0400) Subject: Issue #11500: Fixed a bug in the os x proxy bypass code for fully qualified IP addres... X-Git-Tag: v3.2.1b1~305 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2db4de4d82101a900ff3b000e39ee9207ff8bf7;p=python Issue #11500: Fixed a bug in the os x proxy bypass code for fully qualified IP addresses in the proxy exception list. --- f2db4de4d82101a900ff3b000e39ee9207ff8bf7 diff --cc Lib/test/test_urllib2.py index 14336705fa,1704683b4d..69bcfa25cc --- a/Lib/test/test_urllib2.py +++ b/Lib/test/test_urllib2.py @@@ -4,10 -4,11 +4,12 @@@ from test import suppor import os import io import socket +import array import urllib.request - from urllib.request import Request, OpenerDirector + # The proxy bypass method imported below has logic specific to the OSX + # proxy config data structure but is testable on all platforms. + from urllib.request import Request, OpenerDirector, _proxy_bypass_macosx_sysconf # XXX # Request diff --cc Misc/NEWS index f3442a52bb,d4ce939119..a201895953 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -34,6 -40,6 +34,9 @@@ Core and Builtin Library ------- ++- Issue #11500: Fixed a bug in the os x proxy bypass code for fully qualified ++ IP addresses in the proxy exception list. ++ - Issue #11491: dbm.error is no longer raised when dbm.open is called with the "n" as the flag argument and the file exists. The behavior matches the documentation and general logic.