diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-11-30 22:35:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-30 22:35:14 (GMT) |
commit | be6b74c0795b709c7a04e2187a7e32d08f5155f6 (patch) | |
tree | 1fe90b069f99de8cbe745c008f506bb6769b1ff4 /Python/symtable.c | |
parent | 7d1cfeef6486af07de832b3eae27e3f63532c270 (diff) | |
download | cpython-be6b74c0795b709c7a04e2187a7e32d08f5155f6.zip cpython-be6b74c0795b709c7a04e2187a7e32d08f5155f6.tar.gz cpython-be6b74c0795b709c7a04e2187a7e32d08f5155f6.tar.bz2 |
bpo-20891: Fix PyGILState_Ensure() (#4650) (#4657)
When PyGILState_Ensure() is called in a non-Python thread before
PyEval_InitThreads(), only call PyEval_InitThreads() after calling
PyThreadState_New() to fix a crash.
(cherry picked from commit b4d1e1f7c1af6ae33f0e371576c8bcafedb099db)
Diffstat (limited to 'Python/symtable.c')
0 files changed, 0 insertions, 0 deletions