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 vstinner
Recipients Michael.Felt, corona10, petdance, shihai1991, vstinner
Date 2020-04-10.20:41:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586551308.59.0.223480955136.issue40170@roundup.psfhosted.org>
In-reply-to
Content
/* Test if an object has a GC head */
#define PyObject_IS_GC(o) \
    (PyType_IS_GC(Py_TYPE(o)) \
     && (Py_TYPE(o)->tp_is_gc == NULL || Py_TYPE(o)->tp_is_gc(o)))

This macro should be converted to an opaque function.
History
Date User Action Args
2020-04-10 20:41:48vstinnersetrecipients: + vstinner, Michael.Felt, corona10, shihai1991, petdance
2020-04-10 20:41:48vstinnersetmessageid: <1586551308.59.0.223480955136.issue40170@roundup.psfhosted.org>
2020-04-10 20:41:48vstinnerlinkissue40170 messages
2020-04-10 20:41:48vstinnercreate