You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow extensions to set the vectorcall field on instances of PyFunctionObject #91049
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=Noneclosed_at=Nonecreated_at=<Date2022-03-01.22:14:02.858>labels= ['interpreter-core', 'type-feature', '3.11']
title='Allow extensions to set the vectorcall field on instances of PyFunctionObject'updated_at=<Date2022-03-01.22:14:02.858>user='https://github.com/itamaro'
CPython extensions providing optimized execution of Python bytecode (like Cinder JIT and Pyjion)
can benefit from being able to modify the vectorcall field on instances of PyFunctionObject to allow calling the optimized path (e.g. JIT-compiled) directly.
We propose adding an API to allow extensions to override this field:
Activity
itamaro commentedon Mar 1, 2022
CPython extensions providing optimized execution of Python bytecode (like Cinder JIT and Pyjion)
can benefit from being able to modify the vectorcall field on instances of PyFunctionObject to allow calling the optimized path (e.g. JIT-compiled) directly.
We propose adding an API to allow extensions to override this field:
gvanrossum commentedon May 25, 2022
@markshannon @itamaro
itamaro commentedon May 25, 2022
this is now targeting 3.12 - how can I update the labels?
GH-92257 adds this API and should be ready for review!
gvanrossum commentedon May 25, 2022
Moved the labels for you, and started the tests running on the PR. Others will have to review it.
Merge branch 'main' into pythongh-91049-set-vectorcall
Merge branch 'main' into pythongh-91049-set-vectorcall
GH-91049: Introduce set vectorcall field API for PyFunctionObject (GH…