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

Antoine Pitrou report at bugs.python.org
Sat Dec 21 13:01:25 CET 2013


Antoine Pitrou added the comment:

Yes, the current idiom for calling PyModule_GetState in extension modules isn't safe (because it assumes nothing ever errors out, which can be wrong in the shutdown phase).

----------
nosy: +gvanrossum, ncoghlan, pitrou

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


More information about the Python-bugs-list mailing list