This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author falsetru
Recipients eric.araujo, falsetru, ncoghlan
Date 2011-04-28.09:22:42
SpamBayes Score 5.4969564e-06
Marked as misclassified No
Message-id <1303982563.47.0.41022129712.issue11944@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2011-04-28 09:22:43falsetrusetrecipients: + falsetru, ncoghlan, eric.araujo
2011-04-28 09:22:43falsetrusetmessageid: <1303982563.47.0.41022129712.issue11944@psf.upfronthosting.co.za>
2011-04-28 09:22:42falsetrulinkissue11944 messages
2011-04-28 09:22:42falsetrucreate