STINNER Victor added the comment: Serhiy: "small_stack increases C stack consumption even for calls without keyword arguments. This is serious problem since we can't control stack overflow."
This problem is not new and is worked around by Py_EnterRecursiveCall() macro which counts the depth of the Python stack. I didn't notice any stack overflow crash with my patch. We can reduce the "small_stack" size later if needed. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28839> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com