[issue18543] urllib.parse.urlopen shouldn't ignore installed opener when called with any SSL argument
Bernhard Reiter
report at bugs.python.org
Wed Jan 10 04:51:33 EST 2018
Bernhard Reiter <bernhard at intevation.de> added the comment:
Yesterday I ran into the same problem and I agree that it should be solved, by either documenting the issue or fixing it.
As the code in https://github.com/python/cpython/blob/master/Lib/urllib/request.py#L199
still shows the branch and
https://docs.python.org/3.7/library/urllib.request.html
today does not hint upon it, I'm adding the Python 3.7 Version indicator.
In 3.7 (dev) docs context is indicated as preferred so the situation may be a little bit better, but still not resolved.
Maybe a fix should change OpenerDirector() to be able to replace or remove a handler.
----------
nosy: +ber
versions: +Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue18543>
_______________________________________
More information about the Python-bugs-list
mailing list