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 jeffknupp
Recipients jeffknupp
Date 2012-12-17.17:40:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
test_urllib2_localnet is concerned with testing connections only using 'localhost' or '' hosts. If a user has the "http_proxy" environment variable set, these test will likely fail as the proxy won't have any idea where to send a request for 'localhost'.

Patch makes urllib.request.urlopen ignore proxies set in the environment. Note that this only works for http proxies. https proxies are trickier and require more work.
Date User Action Args
2012-12-17 17:40:12jeffknuppsetrecipients: + jeffknupp
2012-12-17 17:40:12jeffknuppsetmessageid: <>
2012-12-17 17:40:12jeffknupplinkissue16702 messages
2012-12-17 17:40:11jeffknuppcreate