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 BTaskaya
Recipients BTaskaya, David.Edelsohn, Michael.Felt, pablogsal, vstinner
Date 2020-04-13.21:19:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586812753.29.0.127360360341.issue40244@roundup.psfhosted.org>
In-reply-to
Content
@Michael.Felt can you just insert some prints between these 3 to see what is going on (and re-compile)

static void
gen_dealloc(PyGenObject *gen)
{
    PyObject *self = (PyObject *) gen;
<<<<
    _PyObject_GC_UNTRACK(gen);
<<<<
    if (gen->gi_weakreflist != NULL)
        PyObject_ClearWeakRefs(self);
<<<<
    _PyObject_GC_TRACK(self);


something like this should work: printf("%ld\n", _Py_AS_GC(self)->_gc_next);
History
Date User Action Args
2020-04-13 21:19:13BTaskayasetrecipients: + BTaskaya, vstinner, David.Edelsohn, Michael.Felt, pablogsal
2020-04-13 21:19:13BTaskayasetmessageid: <1586812753.29.0.127360360341.issue40244@roundup.psfhosted.org>
2020-04-13 21:19:13BTaskayalinkissue40244 messages
2020-04-13 21:19:13BTaskayacreate