[issue29379] Custom handlers not used when passing "context" argument to urllib2.urlopen()

Martin Panter report at bugs.python.org
Thu Jan 26 19:21:38 EST 2017


Martin Panter added the comment:

I presume this is the same as in Issue 18543 (and a few other duplicates). Let me know if I got it wrong.

IMO there is no easy fix. The best solution may be to just document the behaviour as a limitation of the API, and design a new/improved API for the future (Py 3.7+) that handles these cases.

----------
nosy: +martin.panter
resolution:  -> duplicate
status: open -> closed
superseder:  -> urllib.parse.urlopen shouldn't ignore installed opener when called with any SSL argument

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29379>
_______________________________________


More information about the Python-bugs-list mailing list