commit | 17c68b8107e348aeaaa05f7ac5072cacff916022 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Thu Jan 30 12:20:48 2020 +0100 |
committer | GitHub <noreply@github.com> | Thu Jan 30 12:20:48 2020 +0100 |
tree | 31a937cee879bb5cf9c9433eecdb336da1ebf058 | |
parent | ec3c99c8a73650d7833189bd973ec492564aa479 [diff] |
bpo-38631: Replace Py_FatalError() with assert() in ceval.c (GH-18279) Replace a few Py_FatalError() calls if tstate is NULL with assert(tstate != NULL) in ceval.c. PyEval_AcquireThread(), PyEval_ReleaseThread() and PyEval_RestoreThread() must never be called with a NULL tstate.