-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
gh-135427: Fix DeprecationWarning for os.fork when run in threads with -Werror #136796
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
rani-pinchuk
wants to merge
32
commits into
python:main
Choose a base branch
from
rani-pinchuk:fix-issue-135427
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+662
−72
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
6622c55
gh-135427: Fix DeprecationWarning for os.fork when run in threads wit…
rani-pinchuk 7b13bdc
Merge branch 'main' into fix-issue-135427
rani-pinchuk bf97fe0
📜🤖 Added by blurb_it.
blurb-it[bot] 3482918
gh-135427: check that exception occured, and also clear later the exc…
rani-pinchuk ce90d77
Merge remote-tracking branch 'refs/remotes/origin/fix-issue-135427' i…
rani-pinchuk 1a20748
Behavior changed to raise an exception when fork is used within a thr…
rani-pinchuk 9bead0e
Seems like test_multiprocessing fork deprecation warnings are suppres…
rani-pinchuk d5336dc
Warning of deprecated fork are suppressed in more tests.
rani-pinchuk ae3a5ed
WIP - suppressing warnings in tests that fail in the tests running on…
rani-pinchuk f768f5d
WIP - continuing suppressing warnings in tests.
rani-pinchuk 6308e19
WIP - fix imports.
rani-pinchuk 8955136
WIP - more suppressing of warnings
rani-pinchuk 8731cba
WIP - fix ignore_warnings to wrap also async functions
rani-pinchuk 41e8337
WIP - more suppress of warnings.
rani-pinchuk 359b0ed
WIP - more suppress of warnings.
rani-pinchuk 5277d4c
WIP - test.test_multiprocessing_fork gives no errors on local ubuntu …
rani-pinchuk 204c642
WIP - more suppression of warnings
rani-pinchuk 1b44537
WIP - adding more suppressing of the DeprecatinoWarning
rani-pinchuk c43b3c0
WIP - more suppress of warnings.
rani-pinchuk 5d7ae0c
Merge branch 'main' into fix-issue-135427
rani-pinchuk 868ffd6
WIP - more suppress of warnings.
rani-pinchuk e1398d8
Add dedicated decorator to ignore only the fork in thread deprecation…
rani-pinchuk b58b2ca
Replace the generic decorators to ignore deprecation errors with spec…
rani-pinchuk 8d832ac
Linting issue
rani-pinchuk a0fc743
Update Modules/posixmodule.c
rani-pinchuk 5d1d553
Update Misc/NEWS.d/next/Library/2025-07-19-11-53-19.gh-issue-135427.i…
rani-pinchuk 5a80e4a
Simply ignore_warning functions
rani-pinchuk 52f6f97
Linting fix
rani-pinchuk 36147a1
Remove Misc/mypy/_colorize.py - should be a symlink
rani-pinchuk baab332
Remove Misc/mypy/_token.py and Misc/mypy/_pyrelp - should be a symlink
rani-pinchuk 244869e
Ignore the symlinked files
rani-pinchuk 8b699d8
Fix warning for asymc function
rani-pinchuk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't look related to this PR. Could you revert this, and the removal of the files themselves?