◐ Shell
clean mode source ↗

[3.12] gh-109096: Silence test_httpservers fork + threads DeprecationWarning on CGI support by gpshead · Pull Request #109471 · python/cpython

…cationWarning on CGI support.

We're not fixing CGIHTTPRequestHandler as it is deprecated in 3.13 to go
away in 3.15.  This just removes noise from our test suite when warnings
are rightfully enabled.

If the long pre-existing fork+threading mix here ever causes anyone
deadlocks as is possible, disabling the test entirely on that platform
makes sense rather than attempting to fix
http.server.CGIHTTPRequestHandler or refactor to not use a threaded
server in the test.

@gpshead added tests

Tests in the Lib/test dir

3.12

only security fixes

labels

Sep 15, 2023

@gpshead gpshead marked this pull request as ready for review

September 15, 2023 22:56

@gpshead gpshead deleted the tests/silence-cgi-fork-warning branch

September 17, 2023 23:06