summaryrefslogtreecommitdiffstats
path: root/Python/pymath.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-08-05 07:20:25 (GMT)
committerInada Naoki <songofacandy@gmail.com>2019-08-05 07:20:25 (GMT)
commite8ea34855c7635f8a84b430f17dc01a666f4c0ef (patch)
treee63c6f77d4eafaae5d13585c7e6f4b1fe986f4ff /Python/pymath.c
parent5349f8cd784220fc6599830c56d3f0614de2b8cb (diff)
downloadcpython-e8ea34855c7635f8a84b430f17dc01a666f4c0ef.zip
cpython-e8ea34855c7635f8a84b430f17dc01a666f4c0ef.tar.gz
cpython-e8ea34855c7635f8a84b430f17dc01a666f4c0ef.tar.bz2
bpo-37729: gc: write stats at once (GH-15050)
gc used several PySys_WriteStderr() calls to write stats. It caused stats mixed up when stderr is shared by multiple processes like this: gc: collecting generation 2... gc: objects in each generation: 0 0gc: collecting generation 2... gc: objects in each generation: 0 0 126077 126077 gc: objects in permanent generation: 0 gc: objects in permanent generation: 0 gc: done, 112575 unreachable, 0 uncollectablegc: done, 112575 unreachable, 0 uncollectable, 0.2223s elapsed , 0.2344s elapsed (cherry picked from commit bf8162c8c45338470bbe487c8769bba20bde66c2) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Diffstat (limited to 'Python/pymath.c')
0 files changed, 0 insertions, 0 deletions