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
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
Hi,
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 deleted on exit. After some