[pypy-issue] [issue744] try/finally in not fully consumed generator

Alex Gaynor tracker at bugs.pypy.org
Fri Jun 10 10:05:00 CEST 2011


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>
________________________________________


More information about the pypy-issue mailing list