mirror of
https://github.com/python/cpython.git
synced 2026-01-27 13:15:25 +00:00
The existence of background threads running on a subinterpreter was preventing interpreters from getting properly destroyed, as well as impacting the ability to run the interpreter again. It also affected how we wait for non-daemon threads to finish. We add PyInterpreterState.threads.main, with some internal C-API functions.
Miscellaneous source files for the main Python shared library