[issue34068] traceback.clear_frames(): Objects/typeobject.c:3086: _PyType_Lookup: Assertion `!PyErr_Occurred()' failed.
STINNER Victor
report at bugs.python.org
Wed Jul 11 11:05:56 EDT 2018
STINNER Victor <vstinner at redhat.com> added the comment:
> res = PyObject_CallMethodObjArgs(self, _PyIO_str_flush, NULL);
> assert(!PyErr_Occurred()); /* <---- THIS ASSERTION FAILS */
Using this additional assertion, test_io also fails on test_flush_error_on_close().
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34068>
_______________________________________
More information about the Python-bugs-list
mailing list