Problem with __del__ (thanks)

Stephan Effelsberg b012414 at mail.dvz.fh-koeln.de
Wed Jan 10 06:51:22 EST 2001


Indeed, this helps!

I use a C extension module for some hardware access. I want to (have to!)
reinitialize the hardware if the program exits in an unusual way (e.g.
keyboard interrupt), and I thought using the destructor of the controlling
class to do this job would be the proper way.

Thanks!





More information about the Python-list mailing list