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 socketpair
Recipients RemiCardona, aymeric.augustin, chris.jerdonek, metathink, socketpair, vstinner, yselivanov
Date 2017-07-24.15:11:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500909061.62.0.63699161141.issue29930@psf.upfronthosting.co.za>
In-reply-to
Content
Triggered almost the same error. Minimal proof:

Documentation did not say that .drain() can't be called simultaneously.

===================================
async def do_nothing(client_reader, client_writer):
    await asyncio.sleep(10000)

mb = b'*' * (4096*4)
async def write_cmd(writer):
    writer.write(mb)
    await writer.drain()

async def amain():
    srv = await asyncio.start_unix_server(do_nothing, b'\x00qwe')
    (reader, writer) = await asyncio.open_unix_connection(b'\x00qwe')
    await asyncio.gather(*(write_cmd(writer) for i in range(200)))

loop = asyncio.get_event_loop()
loop.run_until_complete(amain())
===================================
History
Date User Action Args
2017-07-24 15:11:01socketpairsetrecipients: + socketpair, vstinner, chris.jerdonek, aymeric.augustin, yselivanov, RemiCardona, metathink
2017-07-24 15:11:01socketpairsetmessageid: <1500909061.62.0.63699161141.issue29930@psf.upfronthosting.co.za>
2017-07-24 15:11:01socketpairlinkissue29930 messages
2017-07-24 15:11:01socketpaircreate