[issue27972] Confusing error during cyclic yield

Yury Selivanov report at bugs.python.org
Thu Oct 6 17:58:37 EDT 2016


Yury Selivanov added the comment:

> Is that enough? What if the recursion involves several tasks waiting
for each other in a cycle?

I'm not sure... Maybe it's OK when two tasks await on each other, I think the current Task implementation should be able to handle that.  The problem with the Task awaiting itself is that the current implementation just crashes with a RecursionError.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27972>
_______________________________________


More information about the Python-bugs-list mailing list