diff options
author | Inada Naoki <songofacandy@gmail.com> | 2019-08-02 07:25:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-02 07:25:29 (GMT) |
commit | bf8162c8c45338470bbe487c8769bba20bde66c2 (patch) | |
tree | c938215f7b6b03328b9c536e5b600742f03d2934 /Modules/expat | |
parent | 4b3e97592376d5f8a3b75192b399a2da1be642cb (diff) | |
download | cpython-bf8162c8c45338470bbe487c8769bba20bde66c2.zip cpython-bf8162c8c45338470bbe487c8769bba20bde66c2.tar.gz cpython-bf8162c8c45338470bbe487c8769bba20bde66c2.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
Diffstat (limited to 'Modules/expat')
0 files changed, 0 insertions, 0 deletions