summaryrefslogtreecommitdiffstats
path: root/Lib/difflib.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-03-25 00:54:46 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-03-25 00:54:46 (GMT)
commit84092ac3705ffe371f5f1ec8ecc8c2830861ba9e (patch)
tree5f03eacc8c74310a435eb7047488e04998b34d28 /Lib/difflib.py
parentb0749ca933a6806cfa81d22718bde69409154654 (diff)
downloadcpython-84092ac3705ffe371f5f1ec8ecc8c2830861ba9e.zip
cpython-84092ac3705ffe371f5f1ec8ecc8c2830861ba9e.tar.gz
cpython-84092ac3705ffe371f5f1ec8ecc8c2830861ba9e.tar.bz2
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.
Diffstat (limited to 'Lib/difflib.py')
0 files changed, 0 insertions, 0 deletions