1 Nov 2004 01:16
[ python-Bugs-1052242 ] Attempt to run all atexit handlers
SourceForge.net <noreply <at> sourceforge.net>
2004-11-01 00:16:51 GMT
2004-11-01 00:16:51 GMT
Bugs item #1052242, was opened at 2004-10-22 09:31 Message generated for change (Comment added) made by montanaro You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1052242&group_id=5470 Category: Python Library Group: None Status: Open Resolution: None Priority: 5 Submitted By: Greg Chapman (glchapman) Assigned to: Skip Montanaro (montanaro) Summary: Attempt to run all atexit handlers Initial Comment: Currently, if an atexit handler raises an exception during _run_exitfuncs, none of the remaining handlers in the _exithandlers list gets run. I would prefer it if _run_exitfuncs did something like: while _exithandlers: func, targs, kargs = _exithandlers.pop() try: func(*targs, **kargs) except SystemExit: raise except: import sys, traceback print >> sys.stderr, "Error in sys.exitfunc:" traceback.print_exc()(Continue reading)
RSS Feed