commit | 53345a40bcbf6d71705533b658b2940dad31a684 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Wed Mar 25 01:55:14 2015 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Wed Mar 25 01:55:14 2015 +0100 |
tree | 7826b29396823e696376358c7f109aa00b8a191e | |
parent | 09ce2786e4a7a9ea2be32856f4db327f0b72d6cd [diff] | |
parent | 84092ac3705ffe371f5f1ec8ecc8c2830861ba9e [diff] |
(Merge 3.4) Issue #23571: Fix reentrant call to Py_FatalError() Flushing sys.stdout and sys.stderr in Py_FatalError() can call again Py_FatalError(). Add a reentrant flag to detect this case and just abort at the second call.