Skip to content

[C API] Move usage of tp_vectorcall_offset from public headers to the internal C API #89602

Description

@vstinner
BPO 45439
Nosy @vstinner
PRs
  • bpo-45439: _PyObject_Call() only checks tp_vectorcall_offset once #28890
  • bpo-45439: Rename _PyObject_CallNoArg() to _PyObject_CallNoArgs() #28891
  • bpo-45439: Move _PyObject_VectorcallTstate() to pycore_call.h #28893
  • bpo-45439: Move _PyObject_CallNoArgs() to pycore_call.h #28895
  • Files
  • test_bench.patch
  • bench.py
  • bench_no_args.patch
  • bench_no_args_inline.py
  • bench_no_args_public.py
  • test_bench2.patch
  • bench2.py
  • sys_call.patch
  • stack_overflow-4.py
  • 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-10-15.00:42:16.482>
    created_at = <Date 2021-10-11.22:18:05.305>
    labels = ['expert-C-API', '3.11']
    title = '[C API] Move usage of tp_vectorcall_offset from public headers to the internal C API'
    updated_at = <Date 2021-10-15.00:42:16.477>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2021-10-15.00:42:16.477>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-10-15.00:42:16.482>
    closer = 'vstinner'
    components = ['C API']
    creation = <Date 2021-10-11.22:18:05.305>
    creator = 'vstinner'
    dependencies = []
    files = ['50345', '50346', '50347', '50348', '50349', '50350', '50351', '50355', '50356']
    hgrepos = []
    issue_num = 45439
    keywords = ['patch']
    message_count = 10.0
    messages = ['403695', '403696', '403698', '403708', '403768', '403770', '403877', '403878', '403937', '403939']
    nosy_count = 1.0
    nosy_names = ['vstinner']
    pr_nums = ['28890', '28891', '28893', '28895']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue45439'
    versions = ['Python 3.11']

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions