[issue9637] docs do not say that urllib uses HTTP_PROXY

2012-01-10 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 3370fa13ed73 by Senthil Kumaran in branch '3.2': Issue9637 - Explain in getproxies_environment that scheme_proxy environ variable case does not matter. http://hg.python.org/cpython/rev/3370fa13ed73 New changeset

[issue9637] docs do not say that urllib uses HTTP_PROXY

2012-01-10 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 4a30eae3b945 by Senthil Kumaran in branch '2.7': port to 2.7 - Issue9637 - Details that case of Proxy env var does not matter. http://hg.python.org/cpython/rev/4a30eae3b945 --

[issue9637] docs do not say that urllib uses HTTP_PROXY

2012-01-10 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: This is fixed. Thanks for your contribution. -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue9637] docs do not say that urllib uses HTTP_PROXY

2012-01-09 Thread Neil Muller
Neil Muller drnlmuller+b...@gmail.com added the comment: This patch is now more than a year old with no comment. What needs to happen to get this bug fixed? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9637

[issue9637] docs do not say that urllib uses HTTP_PROXY

2012-01-09 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Senthil, any comment on this? -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9637 ___

[issue9637] docs do not say that urllib uses HTTP_PROXY

2012-01-09 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: Sorry, this escaped for so long. First thing is, having different values for HTTP_PROXY and HTTP_proxy and http_proxy is plain wrong at the user side. They all should be same and in that case the possible problem which Kirikaza and Neil

[issue9637] docs do not say that urllib uses HTTP_PROXY

2010-11-20 Thread Neil Muller
Changes by Neil Muller drnlmuller+b...@gmail.com: -- versions: +Python 3.2 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9637 ___ ___

[issue9637] docs do not say that urllib uses HTTP_PROXY

2010-11-20 Thread Neil Muller
Neil Muller drnlmuller+b...@gmail.com added the comment: The problem is that the getproxies_environment function converts all environment variables to lower case before deciding whether to use the name. This means that whichever ends up last in os.environment will be used. The attached patch

[issue9637] docs do not say that urllib uses HTTP_PROXY

2010-08-21 Thread Kirikaza
Kirikaza kirik...@rambler.ru added the comment: I missed the print statement in that example... So I attached the file with correct code. -- Added file: http://bugs.python.org/file18594/proxy.py ___ Python tracker rep...@bugs.python.org

[issue9637] docs do not say that urllib uses HTTP_PROXY

2010-08-20 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Are you talking about top-level code within the urllib module or code within defined functions. If the former, can you quote or point to the place in the file? If the latter, which functions? Just urlopen or others? Does urllib2.urlopen have

[issue9637] docs do not say that urllib uses HTTP_PROXY

2010-08-20 Thread Kirikaza
Kirikaza kirik...@rambler.ru added the comment: Are you talking about ... I have read no line of code from urllib module. I just try to use urllib.urlopen() and I see it uses not only http_proxy but also HTTP_PROXY and urlopen() prefers the latter variable. Let's consider a two-lines sample

[issue9637] docs do not say that urllib uses HTTP_PROXY

2010-08-18 Thread Kirikaza
New submission from Kirikaza kirik...@rambler.ru: In practice urllib reads HTTP_PROXY firstly and then if HTTP_PROXY is empty urllib reads http_proxy. Documentation (http://docs.python.org/library/urllib.html) says nothing about HTTP_PROXY. Maybe it affects all the versions of Python.