mirror of
https://github.com/python/cpython.git
synced 2025-07-19 01:05:26 +00:00
Fix:
[ 1176893 ] Readline segfault by unsilly-ing PyGILState_Release(). Backport candidate.
This commit is contained in:
parent
6d22b56b7e
commit
774479c68b
2 changed files with 7 additions and 1 deletions
|
@ -503,6 +503,6 @@ PyGILState_Release(PyGILState_STATE oldstate)
|
|||
}
|
||||
/* Release the lock if necessary */
|
||||
else if (oldstate == PyGILState_UNLOCKED)
|
||||
PyEval_ReleaseThread(tcur);
|
||||
PyEval_SaveThread();
|
||||
}
|
||||
#endif /* WITH_THREAD */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue