[issue12475] Generator bug allows you to chain arbitrary tracebacks to the next raised exception

2011-07-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset cc7ae81cfe91 by Benjamin Peterson in branch '3.2': restore a generator's caller's exception state both on yield and (last) return http://hg.python.org/cpython/rev/cc7ae81cfe91 New changeset 33dca840938d by Benjamin Peterson in branch 'default': mer

[issue12475] Generator bug allows you to chain arbitrary tracebacks to the next raised exception

2011-07-03 Thread R. David Murray
Changes by R. David Murray : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue12475] Generator bug allows you to chain arbitrary tracebacks to the next raised exception

2011-07-03 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> pitrou nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12475] Generator bug allows you to chain arbitrary tracebacks to the next raised exception

2011-07-03 Thread Devin Jeanpierre
Changes by Devin Jeanpierre : Removed file: http://bugs.python.org/file22550/exception_chaining.py ___ Python tracker ___ ___ Python-bugs-list

[issue12475] Generator bug allows you to chain arbitrary tracebacks to the next raised exception

2011-07-03 Thread Devin Jeanpierre
New submission from Devin Jeanpierre : It's probably best shown by example: http://ideone.com/4YkqV Have fun! This one looks hard. Some notes: Exchanging g2() for iter([1]) makes this go away. Wrapping g2 inside a non-generator iterator does not make this go away. Removing the call to next(