◐ Shell
clean mode source ↗

gh-140513: Fail to compile if `_Py_TAIL_CALL_INTERP` is set but `preserve_none` and `musttail` do not exist. by XChaitanyaX · Pull Request #140548 · python/cpython

added 2 commits

October 24, 2025 19:22

@XChaitanyaX

chris-eibl

chris-eibl

@XChaitanyaX

chris-eibl

Co-authored-by: Chris Eibl <138194463+chris-eibl@users.noreply.github.com>

Fidget-Spinner

chris-eibl

Co-authored-by: Chris Eibl <138194463+chris-eibl@users.noreply.github.com>

efimov-mikhail

@XChaitanyaX

efimov-mikhail

chris-eibl

@Fidget-Spinner Fidget-Spinner changed the title gh-140513: We should fail to compile if _Py_TAIL_CALL_INTERP is set but preserve_none and musttail do not exist. gh-140513: Fail to compile if _Py_TAIL_CALL_INTERP is set but preserve_none and musttail do not exist.

Nov 1, 2025

Fidget-Spinner

chris-eibl added a commit to chris-eibl/cpython that referenced this pull request

Nov 2, 2025
… `preserve_none` and `musttail` do not exist. (pythonGH-140548)

Co-authored-by: Chris Eibl <138194463+chris-eibl@users.noreply.github.com>
(cherry picked from commit 2f60b8f)

Fidget-Spinner pushed a commit that referenced this pull request

Nov 4, 2025
…preserve_none and musttail do not exist (GH-140548) (#140923)

gh-140513: Fail to compile if `_Py_TAIL_CALL_INTERP` is set but `preserve_none` and `musttail` do not exist. (GH-140548)


(cherry picked from commit 2f60b8f)

Co-authored-by: Krishna Chaitanya <141550576+XChaitanyaX@users.noreply.github.com>

StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request

Dec 6, 2025
… `preserve_none` and `musttail` do not exist. (pythonGH-140548)

Co-authored-by: Chris Eibl <138194463+chris-eibl@users.noreply.github.com>

This was referenced

Apr 3, 2026

itamaro pushed a commit that referenced this pull request

Apr 12, 2026
…ds on Windows (#148036)

Rather than failing late when compiling e.g. a debug configuration
```
build.bat -c debug --tail-call-interp
```
with hundreds of
```
error C4737: Unable to perform required tail call. Performance may be degraded.
```
-- fail early with an explicit error message for configurations that are not supported by MSVC.

This is a follow-up on #140513 / #140548

ljfp pushed a commit to ljfp/cpython that referenced this pull request

Apr 25, 2026
…C builds on Windows (python#148036)

Rather than failing late when compiling e.g. a debug configuration
```
build.bat -c debug --tail-call-interp
```
with hundreds of
```
error C4737: Unable to perform required tail call. Performance may be degraded.
```
-- fail early with an explicit error message for configurations that are not supported by MSVC.

This is a follow-up on python#140513 / python#140548