[issue27972] Confusing error during cyclic yield

2016-10-10 Thread Max von Tettenborn
Max von Tettenborn added the comment: You are very welcome, glad I could help. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue27972] Confusing error during cyclic yield

2016-09-06 Thread Max von Tettenborn
New submission from Max von Tettenborn: Below code reproduces the problem. The resulting error is a RecursionError and it is very hard to trace that to the cause of the problem, which is the runner task and the stop task yielding from each other, forming a deadlock. I think, an easy to make