Author vstinner
Recipients pitrou, vstinner
Date 2019-03-28.23:01:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1553814102.98.0.064217796616.issue36465@roundup.psfhosted.org>
In-reply-to
Content
When Python is built in debug mode, PyObject gets 2 new fields: _ob_prev and _ob_next. These fields change the offset of following fields in the PyObject structure and so breaks the ABI.

I propose to modify the debug build (Py_DEBUG) to not imply Py_TRACE_REFS anymore. Antoine Pitrou proposed this idea when the C API was discussed to get a stable ABI.

Another more radical idea is to completely remove Py_TRACE_REFS special build.
History
Date User Action Args
2019-03-28 23:01:42vstinnersetrecipients: + vstinner, pitrou
2019-03-28 23:01:42vstinnersetmessageid: <1553814102.98.0.064217796616.issue36465@roundup.psfhosted.org>
2019-03-28 23:01:42vstinnerlinkissue36465 messages
2019-03-28 23:01:42vstinnercreate