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

gh-98552: flush std streams in the multiprocessing forkserver before fork#141849

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
gpshead merged 2 commits intopython:mainfromgpshead:mp-forkserver-flush-b4-fork
Nov 22, 2025

Conversation

@gpshead
Copy link
Member

@gpsheadgpshead commentedNov 22, 2025
edited by bedevere-appbot
Loading

A minor bug discovered by multiple authors working on a fix for the original bug in the linked issue.

@gpsheadgpshead marked this pull request as ready for reviewNovember 22, 2025 18:01
@gpsheadgpshead added needs backport to 3.13bugs and security fixes needs backport to 3.14bugs and security fixes labelsNov 22, 2025
@gpsheadgpsheadenabled auto-merge (squash)November 22, 2025 18:07
@gpsheadgpshead merged commit58badb1 intopython:mainNov 22, 2025
52 checks passed
@miss-islington-app
Copy link

Thanks@gpshead for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestNov 22, 2025
…efore fork (pythonGH-141849)* flush std streams in the multiprocessing forkserver before fork* NEWS(cherry picked from commit58badb1)Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
@bedevere-app
Copy link

GH-141851 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelNov 22, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestNov 22, 2025
…efore fork (pythonGH-141849)* flush std streams in the multiprocessing forkserver before fork* NEWS(cherry picked from commit58badb1)Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
@bedevere-app
Copy link

GH-141852 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelNov 22, 2025
gpshead added a commit that referenced this pull requestNov 22, 2025
…before fork (GH-141849) (#141851)gh-98552: flush std streams in the multiprocessing forkserver before fork (GH-141849)* flush std streams in the multiprocessing forkserver before fork* NEWS(cherry picked from commit58badb1)Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
gpshead added a commit that referenced this pull requestNov 22, 2025
…before fork (GH-141849) (#141852)gh-98552: flush std streams in the multiprocessing forkserver before fork (GH-141849)* flush std streams in the multiprocessing forkserver before fork* NEWS(cherry picked from commit58badb1)Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
@gpshead
Copy link
MemberAuthor

looks like this was already done for#135335, just earlier in the code from where I had been looking. reverting.

@gpsheadgpshead deleted the mp-forkserver-flush-b4-fork branchNovember 23, 2025 09:20
gpshead added a commit to gpshead/cpython that referenced this pull requestNov 23, 2025
…streams in the multiprocessing forkserver before fork (python#141849)"This reverts commit58badb1.
gpshead added a commit that referenced this pull requestNov 23, 2025
…s in the multiprocessing forkserver before fork (#141849)" (#141871)Revert (unneeded, already done elsewhere) "gh-98552: flush std streams in the multiprocessing forkserver before fork (#141849)"This reverts commit58badb1.
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestNov 23, 2025
…streams in the multiprocessing forkserver before fork (pythonGH-141849)" (pythonGH-141871)Revert (unneeded, already done elsewhere) "pythongh-98552: flush std streams in the multiprocessing forkserver before fork (pythonGH-141849)"This reverts commit58badb1.(cherry picked from commit614a28b)Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestNov 23, 2025
…streams in the multiprocessing forkserver before fork (pythonGH-141849)" (pythonGH-141871)Revert (unneeded, already done elsewhere) "pythongh-98552: flush std streams in the multiprocessing forkserver before fork (pythonGH-141849)"This reverts commit58badb1.(cherry picked from commit614a28b)Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
gpshead added a commit that referenced this pull requestNov 23, 2025
… streams in the multiprocessing forkserver before fork (GH-141849)" (GH-141871) (#141873)gh-98552: Revert (unneeded, already done elsewhere) "flush std streams in the multiprocessing forkserver before fork (GH-141849)" (GH-141871)Revert (unneeded, already done elsewhere) "gh-98552: flush std streams in the multiprocessing forkserver before fork (GH-141849)"This reverts commit58badb1.(cherry picked from commit614a28b)Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
gpshead added a commit that referenced this pull requestNov 23, 2025
… streams in the multiprocessing forkserver before fork (GH-141849)" (GH-141871) (#141872)gh-98552: Revert (unneeded, already done elsewhere) "flush std streams in the multiprocessing forkserver before fork (GH-141849)" (GH-141871)Revert (unneeded, already done elsewhere) "gh-98552: flush std streams in the multiprocessing forkserver before fork (GH-141849)"This reverts commit58badb1.(cherry picked from commit614a28b)Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotAMD64 Debian root 3.13 (tier-1) has failed when building commite2d320b.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1441/builds/1592) and take a look at the build logs.
  4. Check if the failure is related to this commit (e2d320b) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/1441/builds/1592

Failed tests:

  • test_os

Failed subtests:

  • test_timerfd_ns_poll - test.test_os.TimerfdTests.test_timerfd_ns_poll

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):  File"/root/buildarea/3.13.angelico-debian-amd64/build/Lib/test/test_os.py", line4342, intest_timerfd_ns_pollself.check_timerfd_poll(True)~~~~~~~~~~~~~~~~~~~~~~~^^^^^^  File"/root/buildarea/3.13.angelico-debian-amd64/build/Lib/test/test_os.py", line4327, incheck_timerfd_pollself.assertEqual(self.read_count_signaled(fd),1)~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^AssertionError:4 != 1Traceback (most recent call last):  File"/root/buildarea/3.13.angelico-debian-amd64/build/Lib/test/test_os.py", line4342, intest_timerfd_ns_pollself.check_timerfd_poll(True)~~~~~~~~~~~~~~~~~~~~~~~^^^^^^  File"/root/buildarea/3.13.angelico-debian-amd64/build/Lib/test/test_os.py", line4327, incheck_timerfd_pollself.assertEqual(self.read_count_signaled(fd),1)~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^AssertionError:2 != 1

StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull requestDec 6, 2025
…efore fork (python#141849)* flush std streams in the multiprocessing forkserver before fork* NEWS
StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull requestDec 6, 2025
…streams in the multiprocessing forkserver before fork (python#141849)" (python#141871)Revert (unneeded, already done elsewhere) "pythongh-98552: flush std streams in the multiprocessing forkserver before fork (python#141849)"This reverts commit58badb1.
ashm-dev pushed a commit to ashm-dev/cpython that referenced this pull requestDec 8, 2025
…efore fork (python#141849)* flush std streams in the multiprocessing forkserver before fork* NEWS
ashm-dev pushed a commit to ashm-dev/cpython that referenced this pull requestDec 8, 2025
…streams in the multiprocessing forkserver before fork (python#141849)" (python#141871)Revert (unneeded, already done elsewhere) "pythongh-98552: flush std streams in the multiprocessing forkserver before fork (python#141849)"This reverts commit58badb1.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@gpshead@bedevere-bot

[8]ページ先頭

©2009-2026 Movatter.jp