Message291580
> In Evgeny's example the 'task' is 'coro1' (not 'coro2'). It has plenty of yield points after being cancelled.
Since coro1 waiting coro2 when cancelling, Task(coro1).cancel() redirect to Task(coro2).cancel().
But I was wrong about "CancelledError is thrown to coro2."
Task(coro2) is cancelled in last step. CancelledError is not thrown to coro2 actually.
So there is chance to detect it. |
|
Date |
User |
Action |
Args |
2017-04-13 01:07:37 | methane | set | recipients:
+ methane, abacabadabacaba, yselivanov |
2017-04-13 01:07:37 | methane | set | messageid: <1492045657.31.0.468188454334.issue30048@psf.upfronthosting.co.za> |
2017-04-13 01:07:37 | methane | link | issue30048 messages |
2017-04-13 01:07:37 | methane | create | |
|