This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ber
Recipients Alecz, David Ford (FirefighterBlu3), ber, martin.panter, moritzs, r.david.murray
Date 2018-01-10.09:51:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1515577893.22.0.467229070634.issue18543@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-01-10 09:51:33bersetrecipients: + ber, r.david.murray, martin.panter, moritzs, Alecz, David Ford (FirefighterBlu3)
2018-01-10 09:51:33bersetmessageid: <1515577893.22.0.467229070634.issue18543@psf.upfronthosting.co.za>
2018-01-10 09:51:33berlinkissue18543 messages
2018-01-10 09:51:33bercreate