summaryrefslogtreecommitdiffstats
path: root/Lib/pydoc.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-10-31 23:45:42 (GMT)
committerGitHub <noreply@github.com>2018-10-31 23:45:42 (GMT)
commit192c54713b4c67a8d14b2d98056771feba40ca37 (patch)
treebd818ad7e8fbaf8331cfd6511640e622883a20fb /Lib/pydoc.py
parent71b6c1af727fbe13525fb734568057d78cea33f3 (diff)
downloadcpython-192c54713b4c67a8d14b2d98056771feba40ca37.zip
cpython-192c54713b4c67a8d14b2d98056771feba40ca37.tar.gz
cpython-192c54713b4c67a8d14b2d98056771feba40ca37.tar.bz2
bpo-26558: Fix Py_FatalError() with GIL released (GH-10267)
Don't call _Py_FatalError_PrintExc() nor flush_std_files() if the current thread doesn't hold the GIL, or if the current thread has no Python state thread. (cherry picked from commit 3a228ab17c2a9cffd1a2f15f30d6209768de20a6) Co-authored-by: Victor Stinner <vstinner@redhat.com>
Diffstat (limited to 'Lib/pydoc.py')
0 files changed, 0 insertions, 0 deletions