I would like to say that the patch is ready for review here:
http://codereview.appspot.com/2448
And the corresponding issue: http://bugs.python.org/issue3112
It's probably a bit short for inclusion in beta2, although it would be nice to
exercise it in the wild before it's too late... Right now w
Antoine Pitrou wrote:
Solving the problem at hand would require carefully flagging StopIteration
exceptions to know whether they were raised in an iterator implementation
context or not, or even downright forbidding raising them in a non-iterator
implementation context. It's a lot of complication
Greg Ewing canterbury.ac.nz> writes:
>
> This seems like a lot of trouble to go to in order to
> fix a rather obscure problem. Is it really a serious
> enough problem in practice? Anyone have any real-life
> stories about this?
Agreed. I think it is ok for some behaviours to be unspecified and s