Brett Cannon <br...@python.org> added the comment:
co_extra_freefuncs is an array of pointers, so there's no way for it to be uninitialized unless you didn't initialize the interpreter state (https://github.com/python/cpython/blob/b193fa996a746111252156f11fb14c12fd6267e6/Include/pystate.h#L155). And looking at your gdb session it shows the memory wipeout pattern which means you're accessing an interpreter state that has already been freed itself. IOW I don't think this is a PEP 523 issue specifically. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32584> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com