
Feb. 19, 2009
9:58 p.m.
Greg Falcon wrote:
It seems to me equivalence here might not be what you want.
This parallel does not exist today between "return" and "raise StopIteration()", where the former can't be intercepted and blocked by a try/except block, but the latter can.
Hmmm, you're right, it's not exactly equivalent. I'll adjust the wording of that part -- it's not my intention to make returns catchable. -- Greg