A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/006270.html below:

[Python-Dev] Proxy settings for urllib on Win32

[Python-Dev] Proxy settings for urllib on Win32 [Python-Dev] Proxy settings for urllib on Win32Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Wed, 12 Jul 2000 17:32:51 +0200
neil wrote:


>    Is there any reason why urllib uses environment variables for proxy
> settings on Win32? Its quite unlikely they will be set up and there is =
a
> standard registry location for this information.

probably only laziness -- winreg is a recent addition,
after all.

>    I've added retrieval of registry settings to my copy of urllib and =
it
> seems to work OK athough I'm not running off CVS and I recall the =
winreg
> module has changed recently. Here is the code going just after the "if
> os.name =3D=3D 'mac'" proxy handling.

+1 from here.

cheers /F




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4