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 <rep...@bugs.python.org>
<http://bugs.python.org/issue21209>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to