Alex Gaynor <alex.gaynor at gmail.com> added the comment:
It's actually a little more subtle than that, if the generator isn't fully
consumed because it exits via an exception stuff still works. Anyway mostly I
was looking for documentation on how to fix code, which is still not obvious IMO.
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue744>
________________________________________