[issue22898] segfault during shutdown attempting to log ResourceWarning
A. Jesse Jiryu Davis
report at bugs.python.org
Tue Nov 18 22:37:30 CET 2014
A. Jesse Jiryu Davis added the comment:
The crash can ignore whether or not I specify "-Wignore" on the python command line. I was hoping to avoid the crash by short-circuiting the ResourceWarning code path, since the following line appears in the backtrace:
#5 PyErr_WarnFormat (category=<optimized out>, stack_level=stack_level at entry=1, format=format at entry=0x7f5f1ca8b377 "unclosed file %R") at Python/_warnings.c:813
But "-Wignore" has no effect.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22898>
_______________________________________
More information about the Python-bugs-list
mailing list