[issue34068] Assertion failure in _PyType_Lookup

Stefan Behnel report at bugs.python.org
Sun Jul 8 03:07:15 EDT 2018


Stefan Behnel <stefan_ml at behnel.de> added the comment:

I added this assertion exactly for the purpose of finding this kind of bug. It means that some code tried to look up an attribute with a live exception set, which previously could swallow the exception in certain situations, and even if not, it is always the wrong thing to do.

Looking at the stack trace, my guess is that the problem is closer to the crash than the coverage calls. I'd suggest taking a look at the frame cleanup in the traceback module.

----------
nosy: +scoder

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34068>
_______________________________________


More information about the Python-bugs-list mailing list