Guido van Rossum added the comment: Interestingly, it doesn't hang when you raise a different error. There's some new code dealing with the RuntimeError coming out of a generator if it raises StopIteration (instead of returning) introduced by issue #22906. Yury, it looks like you introduced that? (The diff is this:
changeset: 95932:36a8d935c322 user: Yury Selivanov <yseliva...@sprymix.com> date: Sat May 09 11:44:30 2015 -0400 summary: PEP 479: Change StopIteration handling inside generators. ---------- assignee: -> yselivanov keywords: +3.5regression _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25779> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com