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

Issue 552783004: mojo: Add a runloop utility in python (Closed)

Created:
6 years, 3 months ago by qsr
Modified:
6 years, 3 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

mojo: Add a runloop utility in python This is necessary to be able to use async operation on handles. R=sdefresne@chromium.org,cmasone@chromium.org Committed: https://crrev.com/830c88cca3c89dfabcbfc360ac7c035a020b8307 Cr-Commit-Position: refs/heads/master@{#295267}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Follow review #

Patch Set 3 : Do not acquire GIL when called from python. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+220 lines, -0 lines) Patch
M mojo/mojo.gyp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M mojo/public/python/BUILD.gn View 1 1 chunk +7 lines, -0 lines 0 comments Download
A mojo/public/python/mojo/c_environment.pxd View 1 1 chunk +31 lines, -0 lines 0 comments Download
M mojo/public/python/mojo/system.pyx View 1 2 chunks +31 lines, -0 lines 0 comments Download
A mojo/public/python/src/python_system_helper.h View 1 chunk +22 lines, -0 lines 0 comments Download
A mojo/public/python/src/python_system_helper.cc View 1 2 1 chunk +79 lines, -0 lines 0 comments Download
A mojo/python/tests/runloop_unittest.py View 1 1 chunk +42 lines, -0 lines 0 comments Download
M third_party/cython/rules.gni View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
qsr
6 years, 3 months ago (2014-09-16 16:11:54 UTC) #1
sdefresne
https://codereview.chromium.org/552783004/diff/1/mojo/public/python/src/python_system_helper.cc File mojo/public/python/src/python_system_helper.cc (right): https://codereview.chromium.org/552783004/diff/1/mojo/public/python/src/python_system_helper.cc#newcode16 mojo/public/python/src/python_system_helper.cc:16: PythonClosure(PyObject* callable) { If callable is NULL, then callable_ ...
6 years, 3 months ago (2014-09-16 16:35:59 UTC) #2
qsr
https://chromiumcodereview.appspot.com/552783004/diff/1/mojo/public/python/src/python_system_helper.cc File mojo/public/python/src/python_system_helper.cc (right): https://chromiumcodereview.appspot.com/552783004/diff/1/mojo/public/python/src/python_system_helper.cc#newcode16 mojo/public/python/src/python_system_helper.cc:16: PythonClosure(PyObject* callable) { On 2014/09/16 16:35:59, sdefresne wrote: > ...
6 years, 3 months ago (2014-09-17 11:15:48 UTC) #3
sdefresne
lgtm
6 years, 3 months ago (2014-09-17 11:54:58 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/552783004/40001
6 years, 3 months ago (2014-09-17 12:33:42 UTC) #6
commit-bot: I haz the power
Committed patchset #3 (id:40001) as ecbec16aa1307343aec5f6928a7fc4b378e2e4da
6 years, 3 months ago (2014-09-17 13:28:10 UTC) #7
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/830c88cca3c89dfabcbfc360ac7c035a020b8307 Cr-Commit-Position: refs/heads/master@{#295267}
6 years, 3 months ago (2014-09-17 13:28:46 UTC) #8
battre
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/575893004/ by battre@chromium.org. ...
6 years, 3 months ago (2014-09-17 15:42:25 UTC) #9
battre
6 years, 3 months ago (2014-09-17 15:45:51 UTC) #11
Message was sent while issue was closed.
Could you please add a BUG= line to commit messages in the future? This way, I
can provide more feedback in case of reverts to the bug tracker that should not
all go into the revert message. Thanks.

Dominic

Powered by Google App Engine
This is Rietveld 408576698