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

Guido van Rossum report at bugs.python.org
Mon Apr 14 03:23:03 CEST 2014


Guido van Rossum added the comment:

Heh. METH_O was *also* a red herring.  But upstream (Tulip) issue 163 *was* a good clue. I now believe that the real bug is that CoroWrapper.__iter__() has "return self" rather than "return iter(self.gen)". That fix is in the 2nd attachment.

----------
Added file: http://bugs.python.org/file34809/gen_send_2.diff

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


More information about the Python-bugs-list mailing list