Jeong-Min Lee <false...@gmail.com> added the comment: Some exceptions are reported correctly.
>>> def g(): ... 1 / 0 ... yield 1, 2 ... yield 3, 4 ... >>> zip(*g()) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>", line 2, in g ZeroDivisionError: integer division or modulo by zero >>> def g(): ... [][0] ... yield 1, 2 ... yield 3, 4 ... >>> zip(*g()) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>", line 2, in g IndexError: list index out of range ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11944> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com