mirror of
https://github.com/python/cpython.git
synced 2026-01-27 13:15:25 +00:00
Fix the _PyUnicode_FromId() function (_Py_IDENTIFIER(var) API) when Py_Initialize() / Py_Finalize() is called multiple times: preserve _PyRuntime.unicode_ids.next_index value. Use _PyRuntimeState_INIT macro instead memset(0) to reset _PyRuntimeState members to zero.
Miscellaneous source files for the main Python shared library