[issue22898] segfault during shutdown attempting to log ResourceWarning
Serhiy Storchaka
report at bugs.python.org
Wed Nov 26 16:50:51 CET 2014
Serhiy Storchaka added the comment:
out can be b'Done.\r\n'. Use self.assertIn.
> If both patches were to be included, the test case in warn_4.patch would test the above patch and not the changes made in Python/_warnings.c.
You can test err for warning message.
The traceback should be cleared before decrementing the reference count. And only if Py_REFCNT(v) is 2.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22898>
_______________________________________
More information about the Python-bugs-list
mailing list