]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43846: Use less stack for large literals and calls (GH-25403)
authorMark Shannon <mark@hotpy.org>
Thu, 15 Apr 2021 13:28:56 +0000 (14:28 +0100)
committerGitHub <noreply@github.com>
Thu, 15 Apr 2021 13:28:56 +0000 (14:28 +0100)
commit11e0b295dee235dd6fd66a10d4823b0dcb014dc4
tree77a277680509a6bdac8ebb5b0ba156b1d88d5b9b
parentda7435017430671f86075449ff7bde96fd7700a5
bpo-43846: Use less stack for large literals and calls (GH-25403)

* Modify compiler to reduce stack consumption for large expressions.

* Add more tests for stack usage.

* Add NEWS item.

* Raise SystemError for truly excessive stack use.
Lib/test/test_compile.py
Misc/NEWS.d/next/Core and Builtins/2021-04-14-13-53-08.bpo-43846.2jO97c.rst [new file with mode: 0644]
Python/compile.c