Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-35059: Add Py_STATIC_INLINE() macro#10093

Merged
vstinner merged 1 commit into
python:masterpython/cpython:masterfrom
vstinner:static_inlineCopy head branch name to clipboard
Oct 25, 2018
Merged

bpo-35059: Add Py_STATIC_INLINE() macro#10093
vstinner merged 1 commit into
python:masterpython/cpython:masterfrom
vstinner:static_inlineCopy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented Oct 25, 2018

Copy link
Copy Markdown
Member
  • 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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.