[issue11654] errors in atexit hooks don't change process exit code

Ray.Allen report at bugs.python.org
Fri Mar 25 15:26:45 CET 2011


Ray.Allen <ysj.ray at gmail.com> added the comment:

A straight forward fix maybe making the interpreter exit code a static global variable and change it in Modules/atexitmodule.c:atexit_callfuncs() in the case of errors occurred.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11654>
_______________________________________


More information about the Python-bugs-list mailing list