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

Issue 9245047: added taskify(), accepting Futures and coroutines (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by agrif
Modified:
11 years, 7 months ago
Reviewers:
Nikolay Kim, gvrpython, GvR
Visibility:
Public.

Description

from discussion in https://groups.google.com/forum/#!topic/python-tulip/KRh7E_WL_hM

Patch Set 1 #

Patch Set 2 : just implementation and tests #

Total comments: 4

Patch Set 3 : renamed to async(), more tests, other fixes #

Total comments: 1

Patch Set 4 : test_run_until_complete_type_error renamed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -13 lines) Patch
M tests/base_events_test.py View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M tests/tasks_test.py View 1 2 1 chunk +51 lines, -0 lines 0 comments Download
M tulip/base_events.py View 1 2 1 chunk +1 line, -6 lines 0 comments Download
M tulip/futures.py View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M tulip/tasks.py View 1 2 3 chunks +20 lines, -5 lines 0 comments Download

Messages

Total messages: 22
Nikolay Kim
You should assign code review to someone with "Publish+Mail Comments", 'm' shortcut. assign to GvR ...
11 years, 7 months ago (2013-05-13 18:23:55 UTC) #1
agrif
11 years, 7 months ago (2013-05-13 18:57:59 UTC) #2
agrif
On 2013/05/13 18:23:55, Nikolay Kim wrote: > You should assign code review to someone with ...
11 years, 7 months ago (2013-05-13 19:09:44 UTC) #3
Nikolay Kim
On May 13, 2013, at 12:09 PM, aargri@gmail.com wrote: > On 2013/05/13 18:23:55, Nikolay Kim ...
11 years, 7 months ago (2013-05-13 19:18:38 UTC) #4
agrif
On 2013/05/13 19:18:38, Nikolay Kim wrote: > i see taskify() more as helper function. there ...
11 years, 7 months ago (2013-05-13 19:35:16 UTC) #5
Nikolay Kim
On May 13, 2013, at 12:35 PM, aargri@gmail.com wrote: > On 2013/05/13 19:18:38, Nikolay Kim ...
11 years, 7 months ago (2013-05-13 22:39:12 UTC) #6
agrif
I've updated this issue to include just the implementation and tests. Should I create a ...
11 years, 7 months ago (2013-05-14 18:26:36 UTC) #7
GvR
Whoops, somehow I missed this discussion. I'm adding myself now and will try to review ...
11 years, 7 months ago (2013-05-16 01:04:57 UTC) #8
GvR
I have a bunch of nits for the code. I wonder if a good name ...
11 years, 7 months ago (2013-05-16 01:28:20 UTC) #9
agrif
On 2013/05/16 01:28:20, GvR wrote: > I wonder if a good name for this function ...
11 years, 7 months ago (2013-05-16 20:55:46 UTC) #10
Nikolay Kim
On 2013/05/16 20:55:46, agrif wrote: > On 2013/05/16 01:28:20, GvR wrote: > > I wonder ...
11 years, 7 months ago (2013-05-16 22:37:28 UTC) #11
gvrpython
On Thu, May 16, 2013 at 3:37 PM, <fafhrd91@gmail.com> wrote: > right now async() adds ...
11 years, 7 months ago (2013-05-16 22:55:31 UTC) #12
GvR
agrif, have you submitted a PSF contributor agreement? http://www.python.org/psf/contrib/contrib-form/ https://codereview.appspot.com/9245047/diff/21001/tests/base_events_test.py File tests/base_events_test.py (right): https://codereview.appspot.com/9245047/diff/21001/tests/base_events_test.py#newcode265 tests/base_events_test.py:265: ...
11 years, 7 months ago (2013-05-16 23:01:11 UTC) #13
Nikolay Kim
On May 16, 2013, at 3:55 PM, Guido van Rossum <guido@python.org> wrote: > On Thu, ...
11 years, 7 months ago (2013-05-17 16:29:19 UTC) #14
agrif
On 2013/05/16 23:01:11, GvR wrote: > agrif, have you submitted a PSF contributor agreement? > ...
11 years, 7 months ago (2013-05-19 19:25:38 UTC) #15
GvR
LGTM. Agrif, do you want commit privileges so you can check this in yourself? Or ...
11 years, 7 months ago (2013-05-21 15:34:22 UTC) #16
Nikolay Kim
On 2013/05/21 15:34:22, GvR wrote: > LGTM. Agrif, do you want commit privileges so you ...
11 years, 7 months ago (2013-05-21 16:28:36 UTC) #17
gvrpython
Nikolay, what is causing the confusion in your opinion? There are already two places in ...
11 years, 7 months ago (2013-05-21 16:46:33 UTC) #18
Nikolay Kim
My confusion was related to mixing callbacks and yield from. Also i was confused with ...
11 years, 7 months ago (2013-05-21 17:01:14 UTC) #19
gvrpython
Ok, with that cleared up, LGTM again, and I repeat my question to Aaron: do ...
11 years, 7 months ago (2013-05-21 17:03:38 UTC) #20
agrif
On 2013/05/21 17:03:38, gvrpython wrote: > Ok, with that cleared up, LGTM again, and I ...
11 years, 7 months ago (2013-05-21 17:34:51 UTC) #21
gvrpython
11 years, 7 months ago (2013-05-21 18:03:02 UTC) #22
On Tue, May 21, 2013 at 10:34 AM,  <aargri@gmail.com> wrote:
> On 2013/05/21 17:03:38, gvrpython wrote:
>>
>> Ok, with that cleared up, LGTM again, and I repeat my question to
>> Aaron: do you want commit privileges to check this in yourself, or
>> should I do it?

> You should probably do it. I've barely used mercurial, and I'd hate to
> make a silly mistake on the repo.

Ok, you can leave making silly mistakes on the repo to me then. :-)

> https://codereview.appspot.com/9245047/

-- 
--Guido van Rossum (python.org/~guido)
Sign in to reply to this message.

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