Bernhard Reiter <bernh...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue18543>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to