[Python-ideas] A Continuations Compromise in Python
spir
denis.spir at free.fr
Tue May 5 15:41:02 CEST 2009
Le Tue, 5 May 2009 07:29:22 -0500,
John Graham <john.a.graham at gmail.com> s'exprima ainsi:
> I had another proposal on the actual keyword front,
> "return from", which looks like it would kind of provide some symmetry
> to the 'return' and 'yield' constructs and also reads pretty
> intuitively, in my opinion.
Sounds good imo.
return --> the process does not go farther in the curent func
from --> there a detour
Continue (as used in loops) implies instead starting again.
Denis
------
la vita e estrany
More information about the Python-ideas
mailing list