<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><blockquote type="cite">On Jan 18, 2014, at 22:08, "Joao S. O. Bueno" <<a href="mailto:jsbueno@python.org.br">jsbueno@python.org.br</a>> wrote:</blockquote></div><div><br></div><blockquote type="cite"><span>You can use tail recursion elimination in Python as it is today.</span><br><blockquote type="cite"><span></span></blockquote><blockquote type="cite"><span></span></blockquote><blockquote type="cite"><span></span></blockquote><blockquote type="cite"><span></span></blockquote><blockquote type="cite"><span></span></blockquote><blockquote type="cite"><span></span></blockquote><blockquote type="cite"><span></span></blockquote><blockquote type="cite"><span></span></blockquote><blockquote type="cite"><span></span></blockquote><blockquote type="cite"><span></span></blockquote><blockquote type="cite"><span></span></blockquote></blockquote>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 <i>return</i> statement.</body></html>