]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Add _PY_FASTCALL_SMALL_STACK constant
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 15 Dec 2016 11:40:53 +0000 (12:40 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 15 Dec 2016 11:40:53 +0000 (12:40 +0100)
commitbc08ab4598ef05705fd1172f8be8f47307af96c1
tree36d362e23b74d8516d8c5f9001b3966e1c440626
parentd1e35dd9ee50adf2c69445893ce4e5576b983091
Add _PY_FASTCALL_SMALL_STACK constant

Issue #28870: Add a new _PY_FASTCALL_SMALL_STACK constant, size of "small
stacks" allocated on the C stack to pass positional arguments to
_PyObject_FastCall().

_PyObject_Call_Prepend() now uses a small stack of 5 arguments (40 bytes)
instead of 8 (64 bytes), since it is modified to use _PY_FASTCALL_SMALL_STACK.
Include/abstract.h
Objects/abstract.c
Python/bltinmodule.c