[issue7152] urllib2.build_opener() skips ProxyHandler

2013-04-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5da7bb478dd9 by R David Murray in branch '2.7': #7152: Remove incorrectly added reference to DataHandler. http://hg.python.org/cpython/rev/5da7bb478dd9 New changeset 122d42d5268e by R David Murray in branch '3.3': #7152: Remove incorrectly added ref

[issue7152] urllib2.build_opener() skips ProxyHandler

2013-04-28 Thread R. David Murray
R. David Murray added the comment: Thanks, Jessica. I reworded it slightly, since the proxy setting can come from things other than environment variables on Windows and OSX. Also found one other place it needed to be mentioned, and fixed up the punctuation on one of the pre-existing sentence

[issue7152] urllib2.build_opener() skips ProxyHandler

2013-04-28 Thread Éric Araujo
Éric Araujo added the comment: Patch adds a mention of DataHandler, that code doesn’t have yet. -- nosy: +eric.araujo ___ Python tracker ___ __

[issue7152] urllib2.build_opener() skips ProxyHandler

2013-04-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset f2472fb98457 by R David Murray in branch '3.3': #7152: Clarify that ProxyHandler is added only if proxy settings are detected. http://hg.python.org/cpython/rev/f2472fb98457 New changeset aca80409ecdd by R David Murray in branch 'default': Merge #715

[issue7152] urllib2.build_opener() skips ProxyHandler

2013-04-13 Thread Jessica McKellar
Jessica McKellar added the comment: I confirm Barry's observation in msg94150 that if you set http_proxy (or any `*_proxy` environment variable), ProxyHandler does show up in build_opener().handlers. You can also add a ProxyHandler to build_opener through the public API as described in http:/

[issue7152] urllib2.build_opener() skips ProxyHandler

2010-05-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue7152] urllib2.build_opener() skips ProxyHandler

2009-10-16 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: This may end up being just a documentation issue. If the environment has http_proxy set, you do get a ProxyHandler automatically. >>> import os >>> os.environ['http_proxy'] = 'localhost' >>> from urllib2 import build_opener >>> build_opener().handlers [, , ,

[issue7152] urllib2.build_opener() skips ProxyHandler

2009-10-16 Thread Barry A. Warsaw
New submission from Barry A. Warsaw : Try this: >>> from urllib2 import build_opener >>> build_opener().handlers In Python 2.4, you will see ProxyHandler as the first handler, but this handler is missing from the list in Python 2.5, 2.6, and 2.7, despite this text in the documentation: url