[issue20037] Calling traceback.format_exception() during Pyhon shutdown does crash Python

STINNER Victor report at bugs.python.org
Sat Dec 21 14:52:10 CET 2013


STINNER Victor added the comment:

iostate_shutdown.patch: "_PyIO_State *state = IO_STATE;" looks weird to me. The macro should be take parenthesis: "_PyIO_State *state = IO_STATE();". When I read IO_STATE, it looks like a global variable, whereas it does call a real function.

----------

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


More information about the Python-bugs-list mailing list