[issue27035] Cannot set exit code in atexit callback
Glyph Lefkowitz
report at bugs.python.org
Sun May 3 16:45:40 EDT 2020
Glyph Lefkowitz <glyph at twistedmatrix.com> added the comment:
gwk, I absolutely agree; at this point that's the main thing I'm looking for.
But it would be great if whoever adds that documentation could include the rationale for this behavior too. It still seems "obvious" to me that it should change the exit code, and every time I bump into this behavior I am freshly confused and have to re-read these bugs. If I had a better intuition for what the error-handling *model* of atexit was, I think it might stick to memory a bit better.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27035>
_______________________________________
More information about the Python-bugs-list
mailing list