STINNER Victor added the comment: What do you think of using alloca() instead of an "PyObject *small_stack[5];" which has a fixed size?
Note: About your patch, try to avoid _PyObject_CallArg1() if you care of the usage of the C stack, see issue #28858. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28870> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com