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

bpo-35053: Define _PyTraceMalloc_NewReference in object.h #10107

Merged
merged 1 commit into from
Oct 25, 2018
Merged

bpo-35053: Define _PyTraceMalloc_NewReference in object.h #10107

merged 1 commit into from
Oct 25, 2018

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Oct 25, 2018

_PyTraceMalloc_NewReference() is now called by _Py_NewReference(), so
move its definition to object.h. Moreover, define it even if
Py_LIMITED_API is defined, since _Py_NewReference() is also exposed
even if Py_LIMITED_API is defined.

https://bugs.python.org/issue35053

_PyTraceMalloc_NewReference() is now called by _Py_NewReference(), so
move its definition to object.h. Moreover, define it even if
Py_LIMITED_API is defined, since _Py_NewReference() is also exposed
even if Py_LIMITED_API is defined.
@vstinner vstinner merged commit c89a932 into python:master Oct 25, 2018
@vstinner vstinner deleted the fix_tracemalloc branch October 25, 2018 22:02
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.

3 participants