Dave Lawrence <[email protected]> added the comment:
by redefinining the Py_DECREF macro in my application:
#define Py_DECREF(op) do { if (--op->ob_refcnt == 0) fprintf(stderr, "DECREF
%s %d %p %d %s %p\n", __FILE__, __LINE__, op, Py_SIZE(op),
Py_TYPE(op)->tp_name,Py_TYPE(op)->tp_dealloc ); fflush(stderr); } while(0)
this outputs lines like this:
DECREF vardef_file.cc 1601 0000000009F3C728 0 generator 0000000000000000
which appears to be showing the tp_dealloc is a null pointer.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue39001>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com