Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-99845: PEP 670: Convert PyObject macros to functions #99850

Merged
merged 1 commit into from
Nov 30, 2022
Merged

gh-99845: PEP 670: Convert PyObject macros to functions #99850

merged 1 commit into from
Nov 30, 2022

Commits on Nov 30, 2022

  1. gh-99845: PEP 670: Convert PyObject macros to functions

    Convert macros to static inline functions to avoid macro pitfalls,
    like duplication of side effects:
    
    * _PyObject_SIZE()
    * _PyObject_VAR_SIZE()
    
    The result type is size_t (unsigned).
    vstinner committed Nov 30, 2022
    Configuration menu
    Copy the full SHA
    6fb67e8 View commit details
    Browse the repository at this point in the history