On Thu, Dec 13, 2012 at 5:45 AM, Robert Steckroth robertsteckroth@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@python.org http://mail.python.org/mailman/listinfo/capi-sig
Heres an example of using atexit from C/Python api. (py3.x)