Content-Length: 240556 | pFad | https://github.com/python/cpython/pull/92396

CF gh-91321: Fix _PyObject_EXTRA_INIT for C++ by vstinner · Pull Request #92396 · python/cpython · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
May 6, 2022
Merged

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

merged 1 commit into from
May 6, 2022

Conversation

vstinner
Copy link
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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/92396

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy