Detection of program termination

I-feng Kao - EECS (ikao@gandalf.eecs.wsu.edu)
Thu, 15 Sep 1994 22:00:17 GMT

I have a question about what python do to the class instances while program
ends. I did some test and found out that the __del__ method was not invoked
while program ends. I am curious about if there are some way to know the program
ends within class instances.

If there are some other ways to detect termination of program, I'd like to
hear from you.

Responses are welcome.

--
+--------------------------------------------------------------------+
|   I-feng Kao         	  E-mail : ikao@eecs.wsu.edu                 |
|                                  i8974949@wsuaix.csc.wsu.edu       |
|                                  kao@wsuvm1.csc.wsu.edu            |