Skip to content

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