[Pythonmac-SIG] For your eyes only: new 2.3rc1+ installer
Andrew Straw
andrew.straw at adelaide.edu.au
Thu Jul 24 08:31:35 EDT 2003
Actually, this makes me think that we should hook into the Network
System Preferences somehow... That would be really cool!
On Thursday, Jul 24, 2003, at 03:36 Europe/Berlin, Alexandre Parenteau
wrote:
> Hi,
>
> urllib2 doesn't automatically detect the http proxy, I don't think. I
> don't know what Jack was referring to.
>
> May be try to add these lines in PackageManager.py after you see where
> urllib2 is imported:
>
> # build a new opener that adds proxy authentication
> proxy_support = urllib2.ProxyHandler({"http" :
> "http://http-proxy:8080"})
> opener = urllib2.build_opener(proxy_support)
> # install it
> urllib2.install_opener(opener)
More information about the Pythonmac-SIG
mailing list