Chris Angelico added the comment:

Stefan, I'm not sure - I don't know the details of the C API here. But I tried 
commenting out everything but that one line, and while it does result in 
RuntimeError, it doesn't do the exception chaining. Currently, I believe the 
exception isn't being caught at all; but I don't know what it would take to do 
the full catching properly. The current patch doesn't always have a traceback 
on the original StopIteration, either, so it's definitely not quite right yet.

----------

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

Reply via email to