[issue21379] StopIteration is silenced when raised by generator within context manager

2014-04-28 Thread Hannan Aharonov
New submission from Hannan Aharonov: If the code that defines a context manager performs some operations on a generator that cause it to raise StopIteration, this exception is propagated to the context manager's __exit__() method and there swallowed by a try..except block. This can

[issue21379] StopIteration is silenced when raised by generator within context manager

2014-04-28 Thread Hannan Aharonov
Changes by Hannan Aharonov : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue21379> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue21379] StopIteration is silenced when raised by generator within context manager

2014-04-29 Thread Hannan Aharonov
Hannan Aharonov added the comment: OK. Thanks. -- ___ Python tracker <http://bugs.python.org/issue21379> ___ ___ Python-bugs-list mailing list Unsubscribe: