mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
gh-98552: Revert (unneeded, already done elsewhere) "flush std streams 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 commit 58badb1711.
This commit is contained in:
parent
2746c698e3
commit
614a28b3da
2 changed files with 0 additions and 5 deletions
|
|
@ -326,7 +326,6 @@ def sigchld_handler(*_unused):
|
|||
len(fds)))
|
||||
child_r, child_w, *fds = fds
|
||||
s.close()
|
||||
util._flush_std_streams()
|
||||
pid = os.fork()
|
||||
if pid == 0:
|
||||
# Child
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
The :mod:`multiprocessing` forkserver process now flushes stdout and stderr
|
||||
before it forks to avoid the confusion children inheriting any buffered but
|
||||
not yet written output data. Normally there is none, but when using
|
||||
:func:`multiprocessing.set_forkserver_preload` there *could* be.
|
||||
Loading…
Add table
Add a link
Reference in a new issue