[capi-sig] How do I get the Objects to clean up after a python script exits?

Campbell Barton ideasman42 at gmail.com
Sun Dec 16 17:04:59 CET 2012

On Thu, Dec 13, 2012 at 5:45 AM, Robert Steckroth
<robertsteckroth at gmail.com> wrote:
> When I test my module in the interpreter it automatically cleans up any
> created objects. This is a very nice feature
> for my module and I would like to use it. How do I go about getting
> my scripts to send an exit cleanup single?
> --
> Bust0ut, Surgemcgee: Systems Engineer ---
> surgemcgee.com
> Django_Teamplate3d
> _______________________________________________
> capi-sig mailing list
> capi-sig at python.org
> http://mail.python.org/mailman/listinfo/capi-sig

Heres an example of using atexit from C/Python api. (py3.x)

- Campbell

More information about the capi-sig mailing list