Unnecessary print in _winapi.Overlapped.GetOverlappedResult
There seems to be a leftover debugging print statement in the _winapi
module.
https://foss.heptapod.net/pypy/pypy/-/blob/branch/py3.9/lib_pypy/_winapi.py#L141
This code path turns out to be a practical way to observe exits of multiprocessing processes, but only on win32 pypy3 there is extra stdout spam each time I catch BrokenPipeError
. The printed err
ultimately contains the same information as the raised exception (winerror 109) which gets converted to BrokenPipeError
.
I've only tested this on pypy-7.3.9 but the pertinent code seems to be on all pypy3 branches.