]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-128954: Reorder _PyInterpreterFrame fields for reduced memory usage (#128958)
authorSam Gross <colesbury@gmail.com>
Mon, 27 Jan 2025 17:14:51 +0000 (12:14 -0500)
committerGitHub <noreply@github.com>
Mon, 27 Jan 2025 17:14:51 +0000 (17:14 +0000)
commita6a8c6f86e811f9fcdb577bc1d9b85fbf86c8267
tree188e0042c28744011ed19d4eb34d5b250af99e9c
parent8a5a18a36ee118e11c0b45c3dfe8bd69e5db82f9
gh-128954: Reorder _PyInterpreterFrame fields for reduced memory usage (#128958)

This reduces the size of _PyInterpreterFrame by 8 bytes on 64-bit
platforms using the free threading build due to alignment requirements.

This allows for slightly more recursive calls into the interpreter (from
C), but `test_call.test_super_deep` still crashes.
Include/internal/pycore_frame.h
Lib/test/test_sys.py