gh-101659: Add _Py_AtExit() (gh-103298)
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.)
E
Eric Snow committed
03089fdccc7dbe3f69227fbd570df92278371e7f
Parent: 4ec8dd1
Committed by GitHub <noreply@github.com>
on 4/6/2023, 12:42:02 AM