[Python-ideas] Tail recursion elimination

Ned Batchelder ned at nedbatchelder.com
Sat Jan 18 19:02:28 CET 2014


On 1/18/14 10:58 AM, 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.
You haven't explained why you need it.

--Ned.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140118/d938ac05/attachment.html>


More information about the Python-ideas mailing list