[New-bugs-announce] [issue37151] Calling code cleanup after PEP 590

Jeroen Demeyer report at bugs.python.org
Tue Jun 4 10:40:44 EDT 2019


New submission from Jeroen Demeyer <J.Demeyer at UGent.be>:

Now that PEP 590 has been implemented, a lot of old code can be cleaned up. In particular:

- get rid of _PyMethodDef_RawFastCallXXX() functions and replace them by vectorcall functions for each calling convention
- get rid of FastCallDict() implementations for specific types, but keep the generic _PyObject_FastCallDict()
- get rid of some specific tp_call implementations: try to use tp_call=PyVectorcall_Call in more places

----------
components: Interpreter Core
messages: 344577
nosy: Mark.Shannon, jdemeyer, petr.viktorin
priority: normal
severity: normal
status: open
title: Calling code cleanup after PEP 590
type: enhancement
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37151>
_______________________________________


More information about the New-bugs-announce mailing list