[Python-ideas] Tail recursion elimination

Mark Lawrence breamoreboy at yahoo.co.uk
Sat Jan 18 17:28:20 CET 2014


On 18/01/2014 15:58, 
musicdenotation at gmail.com wrote:
>> On Jan 18, 2014, at 22:08, "Joao S. O. Bueno"
>> <jsbueno at python.org.br
>> <mailto:jsbueno at python.org.br>> wrote:
>
>> You can use tail recursion elimination in Python as it is today.
> I have seen many "implementations" of tail-call optimization, and their
> common problem is that they all require special syntax to work. I need a
> solution that is directly usable with Python's orrdinary /return/
> statement.
>

Then implement one and publish it so everybody else can use it.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence



More information about the Python-ideas mailing list