Message216057
The error occurs at line "v = yield from q.get()":
Traceback (most recent call last):
File "/home/haypo/prog/python/default/Lib/asyncio/events.py", line 39, in _run
self._callback(*self._args)
File "/home/haypo/prog/python/default/Lib/asyncio/tasks.py", line 357, in _wakeup
self._step(value, None)
File "/home/haypo/prog/python/default/Lib/asyncio/tasks.py", line 309, in _step
self.set_exception(exc)
File "/home/haypo/prog/python/default/Lib/asyncio/tasks.py", line 301, in _step
result = coro.send(value)
File "put_get_bug.py", line 23, in t2
v = yield from q.get()
TypeError: send() takes 2 positional arguments but 7 were given
Task._step() is called with value=(0, 1, 2, 3, 4, 5) (and exc is None). |
|
Date |
User |
Action |
Args |
2014-04-14 02:39:41 | vstinner | set | recipients:
+ vstinner, gvanrossum, pitrou, giampaolo.rodola, yselivanov, richard.kiss |
2014-04-14 02:39:41 | vstinner | set | messageid: <1397443181.32.0.50608263777.issue21209@psf.upfronthosting.co.za> |
2014-04-14 02:39:41 | vstinner | link | issue21209 messages |
2014-04-14 02:39:40 | vstinner | create | |
|