Christian Heimes added the comment: Thanks!
Py_FatalError() might be too drastic for the task. It calls abort() which kills the process with SIGABRT. The function closes and flushes all stream but no additional cleanup code is executed. This might be bad for resources like shared memories, named semaphores or database connections. On Windows abort() causes a pop up window with a crash report, too. Would exit(3) or _exit(2) work here? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16381> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com