[issue32312] Create Py_AtExitRegister C API

Antoine Pitrou report at bugs.python.org
Wed Dec 13 16:11:30 EST 2017


Antoine Pitrou <pitrou at free.fr> added the comment:

Calling "atexit.register" using the C API isn't very difficult. The annoying part is to wrap a simple C function pointer in a callable PyObject (I don't think there is a simple C API for that).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32312>
_______________________________________


More information about the Python-bugs-list mailing list