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 gvanrossum
Recipients Martin.Teichmann, gvanrossum, vstinner, yselivanov
Date 2015-06-12.13:09:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAP7+vJ+f6ZL2t60Ss8ZqKh=BjkAjwFOq91EF7Sva8gE0NZgP1Q@mail.gmail.com>
In-reply-to <1434034752.25.0.200116855736.issue24431@psf.upfronthosting.co.za>
Content
Note that Glyph recommends against this fix (see mailing list).

On Thu, Jun 11, 2015 at 7:59 AM, Martin Teichmann <report@bugs.python.org>
wrote:

>
> 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 them should drain the socket after (or before)
> writing to it.
>
> A simple bug fix is attached.
>
> ----------
> components: asyncio
> files: patch
> messages: 245172
> nosy: Martin.Teichmann, gvanrossum, haypo, yselivanov
> priority: normal
> severity: normal
> status: open
> title: StreamWriter.drain is not callable concurrently
> type: behavior
> versions: Python 3.4, Python 3.5, Python 3.6
> Added file: http://bugs.python.org/file39681/patch
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue24431>
> _______________________________________
>
History
Date User Action Args
2015-06-12 13:09:41gvanrossumsetrecipients: + gvanrossum, vstinner, yselivanov, Martin.Teichmann
2015-06-12 13:09:41gvanrossumlinkissue24431 messages
2015-06-12 13:09:38gvanrossumcreate