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

Issue 87940044: context_id for Task

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

Description

context_id for Task

Patch Set 1 #

Total comments: 26

Patch Set 2 : 2nd attempt #

Total comments: 4

Patch Set 3 : third version #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -1 line) Patch
M asyncio/tasks.py View 1 2 2 chunks +9 lines, -1 line 0 comments Download
M tests/test_tasks.py View 1 2 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 16
yselivanov
That's the first version of the patch. No docstrings or documentation updates for now (will ...
10 years ago (2014-04-15 19:55:35 UTC) #1
GvR
I'm pretty conflicted. I see a lot of mechanism but I can't quite tell whether ...
10 years ago (2014-04-15 21:31:03 UTC) #2
yselivanov
I replied to almost all of the comments and deleted them. I think I need ...
10 years ago (2014-04-15 22:41:57 UTC) #3
haypo_gmail
https://codereview.appspot.com/87940044/diff/1/asyncio/base_events.py File asyncio/base_events.py (right): https://codereview.appspot.com/87940044/diff/1/asyncio/base_events.py#newcode320 asyncio/base_events.py:320: def run_in_executor(self, executor, callback, *args): No context_id for executors? ...
10 years ago (2014-04-16 04:53:27 UTC) #4
GvR
https://codereview.appspot.com/87940044/diff/1/asyncio/events.py File asyncio/events.py (right): https://codereview.appspot.com/87940044/diff/1/asyncio/events.py#newcode40 asyncio/events.py:40: self._loop._context_id = self._context_id On 2014/04/16 04:53:27, haypo_gmail wrote: > ...
10 years ago (2014-04-16 14:47:11 UTC) #5
yselivanov
So here's the second patch. This new patch is radically different from what I proposed ...
10 years ago (2014-04-16 17:00:55 UTC) #6
GvR
I like this much better. And perhaps it can be even smaller! https://codereview.appspot.com/87940044/diff/20001/asyncio/tasks.py File asyncio/tasks.py ...
10 years ago (2014-04-16 17:46:07 UTC) #7
haypo_gmail
https://codereview.appspot.com/87940044/diff/1/asyncio/events.py File asyncio/events.py (right): https://codereview.appspot.com/87940044/diff/1/asyncio/events.py#newcode40 asyncio/events.py:40: self._loop._context_id = self._context_id Ah ok, you only want to ...
10 years ago (2014-04-16 17:46:11 UTC) #8
GvR
(Pls ignore, Yuri has moved on. :-) https://codereview.appspot.com/87940044/diff/1/asyncio/futures.py File asyncio/futures.py (right): https://codereview.appspot.com/87940044/diff/1/asyncio/futures.py#newcode276 asyncio/futures.py:276: self._loop.call_soon(fn, self, ...
10 years ago (2014-04-16 17:50:16 UTC) #9
haypo_gmail
On 2014/04/16 17:00:55, yselivanov wrote: > This new patch is radically different from what I ...
10 years ago (2014-04-16 17:55:04 UTC) #10
yselivanov
https://codereview.appspot.com/87940044/diff/20001/asyncio/tasks.py File asyncio/tasks.py (right): https://codereview.appspot.com/87940044/diff/20001/asyncio/tasks.py#newcode176 asyncio/tasks.py:176: def set_context_id(self, context_id): On 2014/04/16 17:46:07, GvR wrote: > ...
10 years ago (2014-04-16 19:01:06 UTC) #11
yselivanov
New patch, even shorted than before :) Victor, Guido, here's a very primitive example of ...
10 years ago (2014-04-16 19:31:43 UTC) #12
yselivanov
On 2014/04/16 19:31:43, yselivanov wrote: > https://gist.github.com/1st1/10923339 -- some hypothetical web app that runs on ...
10 years ago (2014-04-16 19:36:25 UTC) #13
yselivanov
Guys, any feedback?
10 years ago (2014-04-17 19:58:19 UTC) #14
GvR
On 2014/04/17 19:58:19, yselivanov wrote: > Guys, any feedback? This is a very nice small ...
10 years ago (2014-04-18 01:22:18 UTC) #15
yselivanov
9 years, 12 months ago (2014-05-01 21:34:40 UTC) #16
Sorry guys, I had some urgent family related matters to resolve. And just when I
thought it's all in the past, I had a bunch of new ones.

Will get back with more examples, better proposals etc in a few days.
Sign in to reply to this message.

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