Message358283
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. |
|
Date |
User |
Action |
Args |
2019-12-11 22:30:47 | Dave Lawrence | set | recipients:
+ Dave Lawrence, paul.moore, vstinner, tim.golden, zach.ware, steve.dower |
2019-12-11 22:30:47 | Dave Lawrence | set | messageid: <1576103447.56.0.700017763875.issue39001@roundup.psfhosted.org> |
2019-12-11 22:30:47 | Dave Lawrence | link | issue39001 messages |
2019-12-11 22:30:47 | Dave Lawrence | create | |
|