[issue27035] Cannot set exit code in atexit callback

Mike Hommey report at bugs.python.org
Thu Aug 19 05:10:43 EDT 2021


Mike Hommey <glandium at gmail.com> added the comment:

> In 2.7 the only exception that _did_ change the exit code was SystemExit.

(and only if it was the last thrown exception)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27035>
_______________________________________


More information about the Python-bugs-list mailing list