Skip to content

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

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:fix_tracemalloc
Oct 25, 2018
Merged

bpo-35053: Define _PyTraceMalloc_NewReference in object.h#10107
vstinner merged 1 commit intopython:masterfrom
vstinner:fix_tracemalloc

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