Skip to content

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Oct 25, 2018

  • Add Py_STATIC_INLINE() macro to declare "static inline" functions.
    The macro asks the compiler to always inline the function, whenever
    possible.
  • Modify pydtrace.h to use Py_STATIC_INLINE() when WITH_DTRACE is
    not defined.
  • Add an unit test on Py_DECREF() to make sure that
    _Py_NegativeRefcount() reports the correct filename.

https://bugs.python.org/issue35059

* Add Py_STATIC_INLINE() macro to declare "static inline" functions.
  The macro asks the compiler to always inline the function, whenever
  possible.
* Modify pydtrace.h to use Py_STATIC_INLINE() when WITH_DTRACE is
  not defined.
* Add an unit test on Py_DECREF() to make sure that
  _Py_NegativeRefcount() reports the correct filename.
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