[issue21209] q.put(some_tuple) fails when PYTHONASYNCIODEBUG=1
Richard Kiss
report at bugs.python.org
Sun Apr 13 05:39:43 CEST 2014
Richard Kiss added the comment:
For a reason that I don't understand, this patch to asyncio fixes the problem:
--- a/asyncio/tasks.py Mon Mar 31 11:31:16 2014 -0700
+++ b/asyncio/tasks.py Sat Apr 12 20:37:02 2014 -0700
@@ -49,7 +49,8 @@
def __next__(self):
return next(self.gen)
- def send(self, value):
+ def send(self, value, *args):
return self.gen.send(value)
def throw(self, exc):
Maybe the problem really is somewhere else, but this works.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21209>
_______________________________________
More information about the Python-bugs-list
mailing list