[issue21209] q.put(some_tuple) fails when PYTHONASYNCIODEBUG=1

Guido van Rossum report at bugs.python.org
Tue Apr 15 03:19:26 CEST 2014


Guido van Rossum added the comment:

OK, looks good. I tried your test with my earlier workaround and the wrapper got deallocated too early, proving that my workaround was indeed wrong and your test is useful. I am still concerned theoretically that the CoroWrapper.send() signature is different from a real generator's send() method, but I think that send() to a coroutine is an internal detail anyway, so I can live with that, and I don't see another work-around.

When you commit, can you do upstgream (Tulip) first?

----------

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


More information about the Python-bugs-list mailing list