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 Martin.Teichmann
Recipients Martin.Teichmann, gvanrossum, vstinner, yselivanov
Date 2015-06-11.14:59:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1434034752.25.0.200116855736.issue24431@psf.upfronthosting.co.za>
In-reply-to
Content
Currently there is an assert statement asserting that no two
tasks (asyncio tasks, that is) can use StreamWriter.drain at
the same time. This is a weird limitiation, if there are two
tasks writing to the same network socket, there is no reason
why not both of them should drain the socket after (or before)
writing to it.

A simple bug fix is attached.
History
Date User Action Args
2015-06-11 14:59:12Martin.Teichmannsetrecipients: + Martin.Teichmann, gvanrossum, vstinner, yselivanov
2015-06-11 14:59:12Martin.Teichmannsetmessageid: <1434034752.25.0.200116855736.issue24431@psf.upfronthosting.co.za>
2015-06-11 14:59:12Martin.Teichmannlinkissue24431 messages
2015-06-11 14:59:11Martin.Teichmanncreate