[issue25779] deadlock with asyncio+contextmanager+ExitStack

Guido van Rossum report at bugs.python.org
Wed Dec 2 11:15:54 EST 2015


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 <yselivanov at 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 <report at bugs.python.org>
<http://bugs.python.org/issue25779>
_______________________________________


More information about the Python-bugs-list mailing list