classification
Title: Add Tail Call Optimization
Type: enhancement Stage: resolved
Components: Versions: Python 3.8
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: midnio, steven.daprano, xtreak
Priority: normal Keywords:

Created on 2018-12-09 09:33 by midnio, last changed 2018-12-09 11:47 by midnio. This issue is now closed.

Messages (3)
msg331420 - (view) Author: Muhammed Alkan (midnio) Date: 2018-12-09 09:33
I see nothing wrong with adding Tail Call Optimization to Python.
msg331422 - (view) Author: Steven D'Aprano (steven.daprano) * (Python committer) Date: 2018-12-09 10:35
> I see nothing wrong with adding Tail Call Optimization to Python.

That's nice. Is that supposed to be an argument that convinces us?

You are hardly the first person ever to suggest TCO for Python:

https://duckduckgo.com/?q=tail+call+optimization+site%3Ahttps%3A%2F%2Fmail.python.org


Unless you have a more convincing argument than the arguments previously made, and rejected, this ticket will be closed.

Even though this has been rejected in the past, the door is not quite closed. In a couple of weeks, Guido will be replaced as BDFL, and the new governor(s) may be more receptive to this idea. But you will probably need to write a PEP.
msg331423 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python triager) Date: 2018-12-09 10:42
Guido had some thoughts on Tail Recursion Optimization (TRE). 

http://neopythonic.blogspot.com/2009/04/tail-recursion-elimination.html
History
Date User Action Args
2018-12-09 11:47:33midniosetstatus: open -> closed
stage: resolved
2018-12-09 10:42:59xtreaksetnosy: + xtreak
messages: + msg331423
2018-12-09 10:35:01steven.dapranosetnosy: + steven.daprano
messages: + msg331422
2018-12-09 09:33:16midniocreate