[issue18543] urllib.parse.urlopen shouldn't ignore installed opener when called with any SSL argument

2018-01-10 Thread Bernhard Reiter
Bernhard Reiter 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.o

[issue18543] urllib.parse.urlopen shouldn't ignore installed opener when called with any SSL argument

2016-01-01 Thread Martin Panter
Martin Panter added the comment: I closed Issue 18543 as a duplicate, which points out this also affects Python 2.7.9+, and can also be triggered by setting the “context” parameter. Overall, I am not comfortable with the complication and hacks in the current patch. Maybe it would be simpler to