Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Feb 3, 2020

  • Remove _Py_INC_REFTOTAL and _Py_DEC_REFTOTAL macros: modify
    directly _Py_RefTotal.
  • _Py_ForgetReference() is no longer defined if the Py_TRACE_REFS
    macro is not defined.
  • Remove _Py_NewReference() implementation in object.c: unify the two
    implementations in object.h inline function.
  • Fix Py_TRACE_REFS build: _Py_INC_TPALLOCS() macro has been removed.

https://bugs.python.org/issue39542

* Remove _Py_INC_REFTOTAL and _Py_DEC_REFTOTAL macros: modify
  directly _Py_RefTotal.
* _Py_ForgetReference() is no longer defined if the Py_TRACE_REFS
  macro is not defined.
* Remove _Py_NewReference() implementation in object.c: unify the two
  implementations in object.h inline function.
* Fix Py_TRACE_REFS build: _Py_INC_TPALLOCS() macro has been removed.
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