This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dave Lawrence
Recipients Dave Lawrence, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2019-12-11.22:30:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1576103447.56.0.700017763875.issue39001@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-12-11 22:30:47Dave Lawrencesetrecipients: + Dave Lawrence, paul.moore, vstinner, tim.golden, zach.ware, steve.dower
2019-12-11 22:30:47Dave Lawrencesetmessageid: <1576103447.56.0.700017763875.issue39001@roundup.psfhosted.org>
2019-12-11 22:30:47Dave Lawrencelinkissue39001 messages
2019-12-11 22:30:47Dave Lawrencecreate