Kirikaza 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
<http://bugs.python.org/issue9
Kirikaza 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 proxy.py
New submission from Kirikaza :
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.
--
assignee: d