diff options
author | Wheeler Law <wheeler.law@outlook.com> | 2023-04-21 02:04:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-21 02:04:25 (GMT) |
commit | 5c00a6224d55f8818ef567b93f484b5429e2ae80 (patch) | |
tree | 9acd708383767c467730fc9d8677278b67495b1a /Python/modsupport.c | |
parent | 4898415df724380d4c8b0ec08e8cb92f126193c3 (diff) | |
download | cpython-5c00a6224d55f8818ef567b93f484b5429e2ae80.zip cpython-5c00a6224d55f8818ef567b93f484b5429e2ae80.tar.gz cpython-5c00a6224d55f8818ef567b93f484b5429e2ae80.tar.bz2 |
gh-99352: Respect `http.client.HTTPConnection.debuglevel` in `urllib.request.AbstractHTTPHandler` (#99353)
* bugfix: let the HTTP- and HTTPSHandlers respect the value of http.client.HTTPConnection.debuglevel
* add tests
* add news
* ReSTify NEWS and reword a bit.
* Address Review Comments.
* Use mock.patch.object instead of settting the module level value.
* Used test values to assert the debuglevel.
---------
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: Senthil Kumaran <senthil@python.org>
Diffstat (limited to 'Python/modsupport.c')
0 files changed, 0 insertions, 0 deletions