Message291580
| Author | methane |
|---|---|
| Recipients | abacabadabacaba, methane, yselivanov |
| Date | 2017-04-13.01:07:37 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1492045657.31.0.468188454334.issue30048@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
> 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. |
|
| History | |||
|---|---|---|---|
| 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 | |