[issue41654] Segfault when raising MemoryError

STINNER Victor report at bugs.python.org
Fri Sep 4 11:15:16 EDT 2020


STINNER Victor <vstinner at python.org> added the comment:

"AMD64 Arch Linux Asan 3.8" buildbot logs a compiler warning:
https://buildbot.python.org/all/#builders/580/builds/4

Objects/exceptions.c: In function ‘MemoryError_dealloc’:
Objects/exceptions.c:2298:23: warning: comparison of distinct pointer types lacks a cast
 2298 |     if (Py_TYPE(self) != PyExc_MemoryError) {
      |                       ^~

----------

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


More information about the Python-bugs-list mailing list