e10c9de9d7
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
|
||
---|---|---|
.. | ||
README | ||
_freeze_importlib.c | ||
_testembed.c | ||
python.c |
README
Source files for binary executables (as opposed to shared modules)