Skip to content

Consider using __forceinline and __attribute__((always_inline)) on static inline functions (Py_INCREF, Py_TYPE) for debug builds #89257

@vstinner

Description

@vstinner
BPO 45094
Nosy @vstinner, @corona10, @pablogsal, @erlend-aasland, @Fidget-Spinner
PRs
  • bpo-45094: Add Py_NO_INLINE macro #28140
  • bpo-45094: Add Py_ALWAYS_INLINE macro #28141
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-09-07.13:45:12.964>
    created_at = <Date 2021-09-03.13:26:39.988>
    labels = ['interpreter-core', '3.11']
    title = 'Consider using __forceinline and __attribute__((always_inline)) on static inline functions (Py_INCREF, Py_TYPE) for debug builds'
    updated_at = <Date 2021-09-07.13:45:12.964>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2021-09-07.13:45:12.964>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-09-07.13:45:12.964>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2021-09-03.13:26:39.988>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45094
    keywords = ['patch']
    message_count = 8.0
    messages = ['400990', '400994', '400995', '400996', '400997', '400999', '401144', '401272']
    nosy_count = 5.0
    nosy_names = ['vstinner', 'corona10', 'pablogsal', 'erlendaasland', 'kj']
    pr_nums = ['28140', '28141']
    priority = 'normal'
    resolution = 'rejected'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue45094'
    versions = ['Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions