Patch #1680961: remove sys.exitfunc and replace it with a private C API. Also, reimplement atexit in C so it can take advantage of this private API.
C
Collin Winter committed
670e6921349dd408b6958a0c5d3b1486725f9beb
Parent: 450ee81