New submission from anatoly techtonik: 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 ---------- components: Documentation files: urllib2.patch.txt messages: 62976 nosy: techtonik severity: normal status: open title: [patch] urllib2 hint - disabled ProxyHandler() versions: Python 2.6 Added file: http://bugs.python.org/file9549/urllib2.patch.txt __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2188> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com