Repository navigation
Calling code cleanup after PEP 590 #81332
Copy link
Copy link
Closed
Labels
3.9 (EOL)end of lifeend of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement
Description
Activity
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
- added3.9 (EOL)end of lifeend of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement
on Jun 4, 2019 All PRs currently on this issue have been merged, but this is not finished yet. I'm mainly waiting for a resolution on PR 13781 because that's a big change which needs to be done before further cleanup.
All linked PRs are merged, so I'm closing this. Feel free to reopen if there's more!
Metadata
Metadata
Assignees
Labels
3.9 (EOL)end of lifeend of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement
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:
bugs.python.org fields: