[capi-sig] Register function to call at shutdown

Hrvoje Niksic hniksic at xemacs.org
Fri Jan 18 12:21:07 CET 2008


"M.-A. Lemburg" <mal at egenix.com> writes:

> Why don't you use the standard atexit module for this ?

That's exactly what I was looking for, thanks!

(Don't know how I missed it.)

> This still only works from Python, but you can add your function in
> a much more reliable way.

That's not a problem because I can still access it from Python/C using
PyModule_Import and friends.


More information about the capi-sig mailing list