summaryrefslogtreecommitdiffstats
path: root/Python/makeopcodetargets.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-11-30 22:36:49 (GMT)
committerGitHub <noreply@github.com>2017-11-30 22:36:49 (GMT)
commite10c9de9d74fd4c26b32e6719d96f04a5be6987d (patch)
treed52af6d26b53ff529cfab22ea50bb6b5faea7a03 /Python/makeopcodetargets.py
parent29cb50ba347d9dc18e0720bef8e9caedd012a3cd (diff)
downloadcpython-e10c9de9d74fd4c26b32e6719d96f04a5be6987d.zip
cpython-e10c9de9d74fd4c26b32e6719d96f04a5be6987d.tar.gz
cpython-e10c9de9d74fd4c26b32e6719d96f04a5be6987d.tar.bz2
bpo-20891: Fix PyGILState_Ensure() (#4650) (#4655)
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. Enhance also embedded tests, backport from master: * Add test_pre_initialization_api() * Set PYTHONIOENCODING environment variable in test_forced_io_encoding() (cherry picked from commit b4d1e1f7c1af6ae33f0e371576c8bcafedb099db)
Diffstat (limited to 'Python/makeopcodetargets.py')
0 files changed, 0 insertions, 0 deletions