[issue46600] Python built with clang -O0 allocates 10x more stack memory than clang -O3 on a Python function call
STINNER Victor
report at bugs.python.org
Tue Feb 1 08:40:57 EST 2022
STINNER Victor <vstinner at python.org> added the comment:
stack_overflow-4.py: Update script from bpo-30866 to measure stack memory usage before Python crash or raises a RecursionError.
I had to modify the script since calling a Python function from a Python function no longer allocates (additional) memory on the stack! See bpo-45256 "Remove the usage of the C stack in Python to Python calls".
----------
Added file: https://bugs.python.org/file50600/stack_overflow-4.py
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46600>
_______________________________________
More information about the Python-bugs-list
mailing list