Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.12] gh-109096: Silence test_httpservers fork + threads DeprecationWarning on CGI support#109471

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Yhg1s merged 1 commit intopython:3.12fromgpshead:tests/silence-cgi-fork-warning
Sep 17, 2023

Conversation

gpshead
Copy link
Member

@gpsheadgpshead commentedSep 15, 2023
edited by bedevere-appbot
Loading

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 the test to not use a threaded server in the test.

…cationWarning on CGI support.We're not fixing CGIHTTPRequestHandler as it is deprecated in 3.13 to goaway in 3.15.  This just removes noise from our test suite when warningsare rightfully enabled.If the long pre-existing fork+threading mix here ever causes anyonedeadlocks as is possible, disabling the test entirely on that platformmakes sense rather than attempting to fixhttp.server.CGIHTTPRequestHandler or refactor to not use a threadedserver in the test.
@gpsheadgpshead added testsTests in the Lib/test dir 3.12only security fixes labelsSep 15, 2023
@gpsheadgpshead marked this pull request as ready for reviewSeptember 15, 2023 22:56
@gpshead
Copy link
MemberAuthor

This can wait for 3.12.1.

@gpsheadgpshead self-assigned thisSep 15, 2023
@Yhg1sYhg1s merged commit52bbb22 intopython:3.12Sep 17, 2023
@gpsheadgpshead deleted the tests/silence-cgi-fork-warning branchSeptember 17, 2023 23:06
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees

@gpsheadgpshead

Labels
3.12only security fixesskip newstestsTests in the Lib/test dir
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@gpshead@Yhg1s

[8]ページ先頭

©2009-2025 Movatter.jp