[issue36937] New _PyObject_MakeTpCall() function

2019-05-21 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: In that case, there is no point a making a separate issue or PR. -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue36937] New _PyObject_MakeTpCall() function

2019-05-21 Thread Petr Viktorin
Petr Viktorin added the comment: Ah, sorry, I didn't get the message through. I'll merge it with the rest of PEP 590. Adding the symbol doesn't make sense *right* now. -- ___ Python tracker ___

[issue36937] New _PyObject_MakeTpCall() function

2019-05-21 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: So what are you trying to say? That it *should* be a static function? It most likely won't be a static function after PEP 590 is fully implemented. -- ___ Python tracker __

[issue36937] New _PyObject_MakeTpCall() function

2019-05-21 Thread Petr Viktorin
Petr Viktorin added the comment: Avoiding the duplication makes sense, but without the rest of PEP 590 it could just be a static function in call.c. -- ___ Python tracker ___

[issue36937] New _PyObject_MakeTpCall() function

2019-05-16 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: I forgot to mention that the idea and first implementation comes from Mark Shannon. -- ___ Python tracker ___ __

[issue36937] New _PyObject_MakeTpCall() function

2019-05-16 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- keywords: +patch pull_requests: +13267 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue36937] New _PyObject_MakeTpCall() function

2019-05-16 Thread Jeroen Demeyer
New submission from Jeroen Demeyer : Add a new private function PyObject *_PyObject_MakeTpCall(PyObject *callable, PyObject *const *args, Py_ssize_t nargs, PyObject *keywords) to call "callable" using tp_call, but with arguments given using the FastCallKeywords or FastCallDict convention (bo