This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients serhiy.storchaka, vstinner
Date 2016-12-05.05:52:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> What do you think of using alloca() instead of an "PyObject *small_stack[5];" which has a fixed size?

alloca() is not in POSIX.1. I afraid it would make CPython less portable.

> Note: About your patch, try to avoid _PyObject_CallArg1() if you care of the usage of the C stack, see issue #28858.

I don't understand how can I avoid it.

> How do you check the stack consumption of PyObject_CallFunctionObjArgs()?

Using a script from issue28858.
Date User Action Args
2016-12-05 05:52:58serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner
2016-12-05 05:52:58serhiy.storchakasetmessageid: <>
2016-12-05 05:52:58serhiy.storchakalinkissue28870 messages
2016-12-05 05:52:57serhiy.storchakacreate