Callbacks on program exiting/aborting

Pengcheng Chen pengcheng.chen at gmail.com
Thu Mar 3 11:29:19 EST 2011


Dear folks,

What callback mechanisms can we use in Python? We have some device drivers are in Python and sometimes they crash. I'd like to do some cleanup before program abort/crash. Any suggestions?

Thanks so much!
Pengcheng


More information about the Python-list mailing list