• Victor Stinner's avatar
    bpo-35059: Add Py_STATIC_INLINE() macro (GH-10093) · 18618e65
    Victor Stinner yazdı
    * Add Py_STATIC_INLINE() macro to declare a "static inline" function.
      If the compiler supports it, try to always inline the function even if no
      optimization level was specified.
    * 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.
    18618e65
_testcapimodule.c 163 KB