Re: Python cleanup on exit

2006-03-10 Thread Fredrik Lundh
Jacob Kroon wrote: > I'm working on a library written in C using GObject, which i > provide python bindings for using pygtk. When I checked the > library for memory leaks using valgrind, I noticed that none > of the objects I created in the script (that is they are global in > the script) were del

Re: Python cleanup on exit

2006-03-10 Thread Steve Juranich
Jacob Kroon wrote: > Is there another way to make python delete objects which were > created in the global scope upon exit ? Check out the `atexit' module. -- Steve Juranich Tucson, AZ USA -- http://mail.python.org/mailman/listinfo/python-list