On 17.07.15 02:46, Chris Angelico wrote:
Out of the lengthy thread on tail call optimization has come one broad
theory that might be of interest, so I'm spinning it off into its own
thread.

The concept is like the Unix exec[vlpe] family of functions: replace
the current stack frame with a new one. This can be used for explicit
tail recursion without repeated stack frames, or for a pre-check that
then disappears out of the stack. Like any other feature, it can be
misused to make debugging difficult, but among consenting adults,
hopefully it can be used sensibly.

I think there is no chance that this proposition will be accepted by Guido, because it makes debugging harder.


--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to