classification
Title: [patch] urllib2 hint - disabled ProxyHandler()
Type: Stage:
Components: Documentation Versions: Python 2.6
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: jafo, techtonik
Priority: normal Keywords:

Created on 2008-02-25 11:08 by techtonik, last changed 2008-03-20 03:21 by jafo. This issue is now closed.

Files
File name Uploaded Description Edit
urllib2.patch.txt techtonik, 2008-02-25 11:08
Messages (2)
msg62976 - (view) Author: anatoly techtonik (techtonik) Date: 2008-02-25 11:08
Patch documents that empty dictionary is used to make ProxyHandler()
with disabled proxy autodetection. Empty constructor doesn't give the
desired effect.

P.S. An ideal approach would be, of course, to change the API. Even
though it can be changed drastically the simple hack would look like:

class ProxyHandler([proxies][, autodetect=False])

Seems like it is better to leave API for Py3K refactoring issue, like #1333
msg64140 - (view) Author: Sean Reifschneider (jafo) * (Python committer) Date: 2008-03-20 03:21
Committed in rev 61663, thanks.
History
Date User Action Args
2008-03-20 03:21:01jafosetstatus: open -> closed
priority: normal
resolution: accepted
messages: + msg64140
nosy: + jafo
2008-02-25 11:08:33techtonikcreate