This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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).
History
Date User Action Args
2014-04-14 02:39:41vstinnersetrecipients: + vstinner, gvanrossum, pitrou, giampaolo.rodola, yselivanov, richard.kiss
2014-04-14 02:39:41vstinnersetmessageid: <1397443181.32.0.50608263777.issue21209@psf.upfronthosting.co.za>
2014-04-14 02:39:41vstinnerlinkissue21209 messages
2014-04-14 02:39:40vstinnercreate