[issue24864] errors writing to stdout during interpreter exit exit with status 0

Robert Collins report at bugs.python.org
Sat Aug 15 01:57:31 CEST 2015


Robert Collins added the comment:

This patch is a minimal stab at the issue.

We should do this change because as it stands genuine user affecting errors can be masked both in pipelines and non-pipeline cases.

A more comprehensive patch would also change e.g. Py_Exit, and the various other users of Py_Finalize like freeze.

I'm not sure where to add an automated test for this; it does sane things under my manual testing.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24864>
_______________________________________


More information about the Python-bugs-list mailing list