[Tutor] signal trapping in a class instance

Chris Fuller cfuller084 at thinkingplanet.net
Sun Mar 16 01:41:23 CET 2008

I read your post again, and it looks as though you might want to use the 
atexit module.  Another idea would be to trap the SIGTERM signal and to keep 
a registry of instances, and then to invoke a cleanup method of each 

Another important note: trapping signals will have no effect if your process 
terminates itself.


More information about the Tutor mailing list