[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 http

[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