Antoine Pitrou added the comment:

> Currently, a generator inherits the currently handled exception from
> the "caller" 

This is expected, since this is how normal functions behave.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23353>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to