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 egaudry
Recipients egaudry, pablogsal, vstinner
Date 2019-10-21.11:34:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1571657696.19.0.0962831907933.issue38542@roundup.psfhosted.org>
In-reply-to
Content
Victor,

extern PyGC_Head *_PyGC_generation0; 
is located at line 374 of Include/objimpl.h (ifndef Py_LIMITED_API).

I used it from a CPython extension we are developing as an handle to the collection of objects being garbage collected.

From what you explained, I should use the _PyRuntime exported symbol to get the handle this PyGC_Head. I'll do this.

I guess that cleaning the Include/objimpl.h is the only remaining action to do then.

Thanks for your feedback.
History
Date User Action Args
2019-10-21 11:34:56egaudrysetrecipients: + egaudry, vstinner, pablogsal
2019-10-21 11:34:56egaudrysetmessageid: <1571657696.19.0.0962831907933.issue38542@roundup.psfhosted.org>
2019-10-21 11:34:56egaudrylinkissue38542 messages
2019-10-21 11:34:56egaudrycreate