]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-128563: Clarify tail calling interpreter is not TCO (#129809)
authorKen Jin <kenjin@python.org>
Fri, 7 Feb 2025 14:59:34 +0000 (22:59 +0800)
committerGitHub <noreply@github.com>
Fri, 7 Feb 2025 14:59:34 +0000 (14:59 +0000)
Clarify tail calling interpreter is not TCO

Doc/whatsnew/3.14.rst

index c788db31fc27ed5ba8ebe4ae275b9a10122a8b0f..e5e9474d1e5d85ec7ac5e2a6c3858bb8156130cb 100644 (file)
@@ -233,6 +233,11 @@ For further information on how to build Python, see
 (Contributed by Ken Jin in :gh:`128718`, with ideas on how to implement this
 in CPython by Mark Shannon, Garret Gu, Haoran Xu, and Josh Haberman.)
 
+.. note::
+
+   This is not to be confused with tail call optimization of Python code.
+   Python functions do not currently have tail call optimization.
+
 
 Other language changes
 ======================