FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-35059: Add Py_STATIC_INLINE() macro by vstinner · Pull Request #10093 · python/cpython · GitHub

/ cpython Public

bpo-35059: Add Py_STATIC_INLINE() macro - #10093

Merged
vstinner merged 1 commit into
python:masterfrom
vstinner:static_inline
Oct 25, 2018
Merged

bpo-35059: Add Py_STATIC_INLINE() macro#10093
vstinner merged 1 commit into
python:masterfrom
vstinner:static_inline

Conversation

vstinner commented Oct 25, 2018
edited by bedevere-bot
Loading

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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL