Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2813)

Issue 116970044: Convert StreamWriter.drain() to a classic coroutine

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 9 months ago by haypo_gmail
Modified:
9 years, 9 months ago
Reviewers:
GvR
Visibility:
Public.

Description

Convert StreamWriter.drain() to a classic coroutine

Patch Set 1 #

Patch Set 2 : _make_drain_waiter() is now a coroutine and handle "connection lost" error #

Total comments: 2

Patch Set 3 : rename helper to _drain_helper() and attribute to _connection_lost #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -19 lines) Patch
M asyncio/streams.py View 1 2 5 chunks +18 lines, -19 lines 0 comments Download

Messages

Total messages: 3
GvR
I think the basic idea is sound, I am just not 100% sure about the ...
9 years, 9 months ago (2014-07-21 22:36:12 UTC) #1
haypo_gmail
New version addressing last comments.
9 years, 9 months ago (2014-07-21 22:46:48 UTC) #2
GvR
9 years, 9 months ago (2014-07-21 23:23:27 UTC) #3
LGTM.

(On second thought this is good enough.)
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b