mirror of
https://github.com/python/cpython.git
synced 2026-05-07 21:20:55 -04:00
b4d1e1f7c1
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.
Miscellaneous source files for the main Python shared library