mirror of
https://github.com/python/cpython.git
synced 2026-01-27 21:25:12 +00:00
We've factored out a struct from the two PyThreadState fields. This accomplishes two things: * make it clear that the trashcan-related code doesn't need any other parts of PyThreadState * allows us to use the trashcan mechanism even when there isn't a "current" thread state We still expect the caller to hold the GIL. https://github.com/python/cpython/issues/59956
Miscellaneous source files for the main Python shared library