Skip to content

gh-91321: Fix _PyObject_EXTRA_INIT for C++#92396

Merged
pablogsal merged 1 commit into
python:mainfrom
vstinner:trace_refs_null
May 6, 2022
Merged

gh-91321: Fix _PyObject_EXTRA_INIT for C++#92396
pablogsal merged 1 commit into
python:mainfrom
vstinner:trace_refs_null

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented May 6, 2022

In C++, the _PyObject_EXTRA_INIT macro now uses nullptr, rather than
0, to initialize the _ob_next and _ob_prev members of the PyObject
structure.

Fix test_cppext failure when Python is built with
./configure --with-trace-refs.

In C++, the _PyObject_EXTRA_INIT macro now uses nullptr, rather than
0, to initialize the _ob_next and _ob_prev members of the PyObject
structure.

Fix test_cppext failure when Python is built with
./configure --with-trace-refs.
@pablogsal pablogsal merged commit c33d67c into python:main May 6, 2022
@vstinner vstinner deleted the trace_refs_null branch December 13, 2022 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants