mirror of
https://github.com/python/cpython.git
synced 2026-05-08 21:50:40 -04:00
44bf57aca6
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