mirror of
https://github.com/python/cpython.git
synced 2026-01-28 21:55:51 +00:00
The function is like Py_AtExit() but for a single interpreter. This is a companion to the atexit module's register() function, taking a C callback instead of a Python one. We also update the _xxinterpchannels module to use _Py_AtExit(), which is the motivating case. (This is inspired by pain points felt while working on gh-101660.)
Miscellaneous source files for the main Python shared library