8000 gh-135335: flush stdout/stderr in forkserver after preloading modules by duaneg · Pull Request #135338 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-135335: flush stdout/stderr in forkserver after preloading modules #135338

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

Merged
merged 15 commits into from
Jun 18, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Lib/test/_test_multiprocessing.py
Co-authored-by: Victor Stinner <vstinner@python.org>
  • Loading branch information
duaneg and vstinner authored Jun 17, 2025
commit 4d57d74133b955a322b67450b2a56e702ec61936
2 changes: 1 addition & 1 deletion Lib/test/_test_multiprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -6813,7 +6813,7 @@ def test_std_streams_flushed_after_preload(self):
dirname = os.path.join(self._temp_dir, 'preloaded_module')
init_name = os.path.join(dirname, '__init__.py')
os.mkdir(dirname)
with open(os.path.join(init_name), "w") as f:
with open(init_name, "w") as f:
cmd = '''if 1:
import sys
print('stderr', file=sys.stderr)
Expand Down
Loading
0