Staging
v0.5.1
https://github.com/python/cpython
Revision b4d1e1f7c1af6ae33f0e371576c8bcafedb099db authored by Victor Stinner on 30 November 2017, 21:05:00 UTC, committed by GitHub on 30 November 2017, 21:05:00 UTC
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.

Add an unit test in test_embed.
1 parent 986375e
History
Tip revision: b4d1e1f7c1af6ae33f0e371576c8bcafedb099db authored by Victor Stinner on 30 November 2017, 21:05:00 UTC
bpo-20891: Fix PyGILState_Ensure() (#4650)
Tip revision: b4d1e1f
File Mode Size
__init__.py -rw-r--r-- 0 bytes
error.py -rw-r--r-- 2.6 KB
parse.py -rw-r--r-- 35.8 KB
request.py -rw-r--r-- 97.6 KB
response.py -rw-r--r-- 2.2 KB
robotparser.py -rw-r--r-- 8.3 KB

back to top