]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106581: Honor 'always_exits' in write_components() (#109338)
authorGuido van Rossum <guido@python.org>
Tue, 12 Sep 2023 17:58:40 +0000 (10:58 -0700)
committerGitHub <noreply@github.com>
Tue, 12 Sep 2023 17:58:40 +0000 (17:58 +0000)
commitb86ce91bfeeb0437a38ee6b59fb86d5d37d529ee
treea8345f8042f8afaa7a19a6d5d0291da8bef66a9f
parentd12b3e3152b1858e91c4890d0bf3a3b574a3ff6f
gh-106581: Honor 'always_exits' in write_components() (#109338)

I must have overlooked this when refactoring the code generator.
The Tier 1 interpreter contained a few silly things like
```
            goto resume_frame;
            STACK_SHRINK(1);
```
(and other variations, some where the unconditional `goto` was hidden in a macro).
Python/generated_cases.c.h
Tools/cases_generator/stacking.py