]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38644: Add _PyObject_Call() (GH-17089)
authorVictor Stinner <vstinner@python.org>
Thu, 14 Nov 2019 12:36:21 +0000 (13:36 +0100)
committerGitHub <noreply@github.com>
Thu, 14 Nov 2019 12:36:21 +0000 (13:36 +0100)
commit4d231bcc77ac8ce7d11bda0804130dcdd678f710
tree5cb1019d966e2e29977430b0824d11ccf8bd24e4
parentb9e681261cd5ce6db0a79461c58d7cc52cfa4902
bpo-38644: Add _PyObject_Call() (GH-17089)

* Add pycore_call.h internal header file.
* Add _PyObject_Call(): PyObject_Call() with tstate
* Add _PyObject_CallNoArgTstate(): _PyObject_CallNoArg() with tstate
* Add _PyObject_FastCallDictTstate(): _PyObject_FastCallDict()
  with tstate
* _PyObject_Call_Prepend() now takes tstate
* Replace _PyObject_FastCall() calls
  with _PyObject_VectorcallTstate() calls
Include/cpython/abstract.h
Include/internal/pycore_call.h [new file with mode: 0644]
Makefile.pre.in
Objects/call.c
Objects/typeobject.c
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/_warnings.c
Python/bltinmodule.c
Python/ceval.c