Message216057
| Author |
vstinner |
| Recipients |
giampaolo.rodola, gvanrossum, pitrou, richard.kiss, vstinner, yselivanov |
| Date |
2014年04月14日.02:39:40 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1397443181.32.0.50608263777.issue21209@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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). |
|