[issue24431] StreamWriter.drain is not callable concurrently

2015-06-12 Thread Guido van Rossum
Guido van Rossum added the comment: See mailing list discussion. -- resolution: -> rejected status: open -> closed ___ Python tracker ___ ___

[issue24431] StreamWriter.drain is not callable concurrently

2015-06-12 Thread Guido van Rossum
Guido van Rossum added the comment: Note that Glyph recommends against this fix (see mailing list). On Thu, Jun 11, 2015 at 7:59 AM, Martin Teichmann wrote: > > New submission from Martin Teichmann: > > Currently there is an assert statement asserting that no two > tasks (asyncio tasks, that i

[issue24431] StreamWriter.drain is not callable concurrently

2015-06-11 Thread Martin Teichmann
New submission from Martin Teichmann: 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