Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(636)

Issue 8749015: Reimplement r109239 but using Popen.communicate() instead. (Closed)

Created:
9 years ago by M-A Ruel
Modified:
9 years ago
Reviewers:
Dirk Pranke
CC:
chromium-reviews, M-A Ruel
Visibility:
Public.

Description

Reimplement r109239 but using Popen.communicate() instead. Enables threaded callback handler for subprocess.communicate(). R=dpranke@chromium.org BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112465

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix on windows #

Patch Set 3 : rework tests #

Total comments: 6

Patch Set 4 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+308 lines, -49 lines) Patch
M subprocess2.py View 1 2 3 5 chunks +163 lines, -34 lines 0 comments Download
M tests/subprocess2_test.py View 1 2 5 chunks +145 lines, -15 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
M-A Ruel
Tested manually on linux, mac, windows and cygwin. http://codereview.chromium.org/8749015/diff/1/subprocess2.py File subprocess2.py (right): http://codereview.chromium.org/8749015/diff/1/subprocess2.py#newcode277 subprocess2.py:277: 'wait': ...
9 years ago (2011-11-30 20:44:51 UTC) #1
Dirk Pranke
http://codereview.chromium.org/8749015/diff/4001/subprocess2.py File subprocess2.py (right): http://codereview.chromium.org/8749015/diff/4001/subprocess2.py#newcode220 subprocess2.py:220: """Does I/O for a process's pipes using thread. Nit: ...
9 years ago (2011-11-30 21:06:44 UTC) #2
Dirk Pranke
Oh, for the record (i.e., me, when I review the next version ...): http://src.chromium.org/viewvc/chrome?view=rev&revision=109239 http://codereview.chromium.org/8374026
9 years ago (2011-11-30 21:07:56 UTC) #3
M-A Ruel
http://codereview.chromium.org/8749015/diff/4001/subprocess2.py File subprocess2.py (right): http://codereview.chromium.org/8749015/diff/4001/subprocess2.py#newcode279 subprocess2.py:279: 'wait': threading.Thread(target=wait_fn), On 2011/11/30 21:06:44, Dirk Pranke wrote: > ...
9 years ago (2011-11-30 21:26:03 UTC) #4
Dirk Pranke
http://codereview.chromium.org/8749015/diff/4001/subprocess2.py File subprocess2.py (right): http://codereview.chromium.org/8749015/diff/4001/subprocess2.py#newcode279 subprocess2.py:279: 'wait': threading.Thread(target=wait_fn), On 2011/11/30 21:26:04, Marc-Antoine Ruel wrote: > ...
9 years ago (2011-11-30 22:15:54 UTC) #5
Dirk Pranke
un-lgtm! I think you didn't answer this question ... > On 2011/11/30 21:06:44, Dirk Pranke ...
9 years ago (2011-11-30 22:20:50 UTC) #6
M-A Ruel
On 2011/11/30 22:15:54, Dirk Pranke wrote: > http://codereview.chromium.org/8749015/diff/4001/subprocess2.py#newcode279 > subprocess2.py:279: 'wait': threading.Thread(target=wait_fn), > On 2011/11/30 ...
9 years ago (2011-12-01 00:45:22 UTC) #7
Dirk Pranke
On 2011/12/01 00:45:22, Marc-Antoine Ruel wrote: > On 2011/11/30 22:15:54, Dirk Pranke wrote: > > ...
9 years ago (2011-12-01 00:59:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maruel@chromium.org/8749015/9001
9 years ago (2011-12-01 14:58:40 UTC) #9
commit-bot: I haz the power
9 years ago (2011-12-01 15:04:59 UTC) #10
Change committed as 112465

Powered by Google App Engine
This is Rietveld 408576698