New submission from Robert Brewer :
While debugging/fixing the logging module's atexit behavior (see http://www.cherrypy.org/ticket/646 -- it chokes atexit if stdout is closed), it became difficult to write an automated test that verified the bug occurred, since it happened at program exit. Returning a nonzero exit code when atexit errors occur would be preferable to just printing the error. Of course, if SystemExit is already raised, we should propagate that out, but other exceptions should print the traceback and then return some other code IMO. ---------- components: Interpreter Core messages: 56323 nosy: aminusfu severity: normal status: open title: atexit errors should result in nonzero exit code type: behavior versions: Python 2.4, Python 2.5, Python 2.6, Python 3.0 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1257> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com