From ea1662d47a7c943fcacf20508071bf578d69405e Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 8 Feb 2025 14:12:48 -0500 Subject: [PATCH 1/3] Docs: more explanation of the implications of new tail-call interpreter --- Doc/whatsnew/3.14.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index 9c4922308b7f2d..23d019e35afca8 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -235,6 +235,10 @@ For further information on how to build Python, see This is not to be confused with `tail call optimization`__ of Python functions, which is currently not implemented in CPython. + This new interpreter is an internal implementation detail of the CPython + interpreter. It doesn't change the visible behavior of Python programs at + all. It can improve their performance, but doesn't change anything else. + __ https://en.wikipedia.org/wiki/Tail_call (Contributed by Ken Jin in :gh:`128718`, with ideas on how to implement this From eb3661aad4c794ff1a955689146d2664fa5f1303 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 8 Feb 2025 14:15:23 -0500 Subject: [PATCH 2/3] Update Doc/whatsnew/3.14.rst Co-authored-by: Ken Jin --- Doc/whatsnew/3.14.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index 23d019e35afca8..89e97fe753b993 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -235,7 +235,7 @@ For further information on how to build Python, see This is not to be confused with `tail call optimization`__ of Python functions, which is currently not implemented in CPython. - This new interpreter is an internal implementation detail of the CPython + This new interpreter type is an internal implementation detail of the CPython interpreter. It doesn't change the visible behavior of Python programs at all. It can improve their performance, but doesn't change anything else. From efbb503f868ec7d4fd31a976d25ba0c85412a801 Mon Sep 17 00:00:00 2001 From: Ken Jin Date: Sun, 9 Feb 2025 03:21:24 +0800 Subject: [PATCH 3/3] Update Doc/whatsnew/3.14.rst --- Doc/whatsnew/3.14.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index 89e97fe753b993..ba7e8b42ef1f24 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -241,7 +241,7 @@ For further information on how to build Python, see __ https://en.wikipedia.org/wiki/Tail_call -(Contributed by Ken Jin in :gh:`128718`, with ideas on how to implement this +(Contributed by Ken Jin in :gh:`128563`, with ideas on how to implement this in CPython by Mark Shannon, Garrett Gu, Haoran Xu, and Josh Haberman.)