[New-bugs-announce] [issue2188] [patch] urllib2 hint - disabled ProxyHandler()
anatoly techtonik
report at bugs.python.org
Mon Feb 25 12:08:49 CET 2008
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 <report at bugs.python.org>
<http://bugs.python.org/issue2188>
__________________________________
More information about the New-bugs-announce
mailing list