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 richard.kiss
Recipients richard.kiss
Date 2014-04-13.01:10:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
import asyncio
import os

def t1(q):
    yield from asyncio.sleep(0.5)
    q.put_nowait((0, 1, 2, 3, 4, 5))

def t2(q):
    v = yield from q.get()

q = asyncio.Queue()
asyncio.get_event_loop().run_until_complete(asyncio.wait([t1(q), t2(q)]))

When PYTHONASYNCIODEBUG is set to 1, this causes a strange error:

TypeError: send() takes 2 positional arguments but 7 were given

See also
Date User Action Args
2014-04-13 01:10:42richard.kisssetrecipients: + richard.kiss
2014-04-13 01:10:42richard.kisssetmessageid: <>
2014-04-13 01:10:41richard.kisslinkissue21209 messages
2014-04-13 01:10:41richard.kisscreate