]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-148047: Check early whether tail-calling is possible for MSVC builds on Windows...
authorChris Eibl <138194463+chris-eibl@users.noreply.github.com>
Sun, 12 Apr 2026 05:49:18 +0000 (07:49 +0200)
committerGitHub <noreply@github.com>
Sun, 12 Apr 2026 05:49:18 +0000 (08:49 +0300)
commitcbd81d59cfea4f7b881642e804646da3a328a712
tree54b1d0923d5517e81aaea66d7e3363324dfa78ff
parent208195dff4cd19dfd4aeb0eed8a133f2b1a66ec1
GH-148047: Check early whether tail-calling is possible for MSVC builds 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 https://github.com/python/cpython/issues/140513 / https://github.com/python/cpython/pull/140548
Misc/NEWS.d/next/Build/2026-04-03-20-09-46.gh-issue-148047.HE6iGK.rst [new file with mode: 0644]
PCbuild/pythoncore.vcxproj