Skip to content

Commit

Permalink
gh-128563: Clarify clarificatory tail calling wording in What's New (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner authored Feb 7, 2025
1 parent 476a78f commit a93a5a3
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Doc/whatsnew/3.14.rst
Original file line number Diff line number Diff line change
Expand Up @@ -230,13 +230,15 @@ tested and can validate its improved performance.
For further information on how to build Python, see
:option:`--with-tail-call-interp`.

(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.
This is not to be confused with `tail call optimization`__ of Python
functions, which is currently not implemented in CPython.

__ https://en.wikipedia.org/wiki/Tail_call

(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.)


Other language changes
Expand Down

0 comments on commit a93a5a3

Please sign in to comment.