atexit.register in case of errors
andrea.crotti.0 at gmail.com
Wed Feb 15 16:41:12 CET 2012
On 02/15/2012 03:18 PM, Thomas Rachel wrote:
> if __name__ == '__main__':
> be even better? Or doesn't it work well together with SystemExit?
Well in that case goodbye is always called, even if I have some other
which is not what I want.. (and is exactly what I had with atexit.register).
More information about the Python-list