This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients ned.deily, ronaldoussoren
Date 2009-10-16.22:46:45
SpamBayes Score 4.57825e-09
Marked as misclassified No
Message-id <1255733208.5.0.407244004895.issue7154@psf.upfronthosting.co.za>
In-reply-to
Content
On OS X, urllib.request in Python 3 is supposed to use the operating 
system's proxy configuration by default, unless overridden by 
environment variables or by the caller providing an explicit proxy 
configuration.

In Python 2, urllib (and, indirectly, urllib2) were modified to use the 
OS X SystemConfiguration framework API instead of the obsolete classic 
MacOS Internet Configuration via the deprecated Macintosh ic library 
module, which was removed in Python 3.

However, in the transition from Python 2 urllib/urllib2 to Python 3 
urllib.request, the changes to the darwin-specific getproxies functions 
were not made.  So, at the moment, Python 3 urllib.request tries to 
import the non-existant ic module and silently fails, effectively 
ignoring the system proxy configuration.  The solution is to forward 
port the corresponding code from Python 2 urllib along with the helper 
module _scproxy.c.
History
Date User Action Args
2009-10-16 22:46:48ned.deilysetrecipients: + ned.deily, ronaldoussoren
2009-10-16 22:46:48ned.deilysetmessageid: <1255733208.5.0.407244004895.issue7154@psf.upfronthosting.co.za>
2009-10-16 22:46:46ned.deilylinkissue7154 messages
2009-10-16 22:46:46ned.deilycreate