[pypy-issue] [issue1126] __exit__ is not called when an exception raised inside of generator

Hong Minhee tracker at bugs.pypy.org
Thu Apr 12 04:43:18 CEST 2012


Hong Minhee <minhee at dahlia.kr> added the comment:

Sorry but I did not understand well.  Should not __exit__ be called before an 
exception is caught or a program terminates at least?  The code I attached never 
calls __exit__ even the program has terminated.

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1126>
________________________________________


More information about the pypy-issue mailing list