PEP 590: new function PyObject_VectorcallDict#1057
PEP 590: new function PyObject_VectorcallDict#1057jdemeyer wants to merge 1 commit intopython:masterfrom
Conversation
|
I don't agree with the rename. The semantics are almost the same as Would there be any issues with keeping |
Sure, the idea is to rename
(whether or not you want to keep the old names for backwards compatibility is another discussion which shouldn't influence the PEP).
I would argue that the names
It's a variation on vectorcall, I don't think it's that hard to understand. CPython has plenty of |
|
This is of course all bikeshedding and I'll accept any decision which is made here. |
|
My preferred way to handle this would be:
This doesn't need to be in PEP 590. It could be there, but pinning the details would probably need a longer discussion, which I want to avoid. |
Add a new public function for doing a call with an argument vector and a dict. As @markshannon suggested, this is a cleaner API than having a single function with two meanings.
CC @encukou @scoder