[Python-ideas] A Continuations Compromise in Python
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Sun May 3 18:42:11 CEST 2009
2009/5/3 Steven D'Aprano <steve at pearwood.info>:
> Guido's largest objection to TCO is that it ruins nice stack traces when
> you get an exception. I must admit I've never understood this argument.
Tail call optimization is more general than tail recursion
optimization and it can indeed eliminates useful context from the call
stack if the caller and callee are different functions.
--
Marcin Kowalczyk
qrczak at knm.org.pl
http://qrnik.knm.org.pl/~qrczak/
More information about the Python-ideas
mailing list