This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:37methanesetrecipients: + methane, abacabadabacaba, yselivanov
2017-04-13 01:07:37methanesetmessageid: <1492045657.31.0.468188454334.issue30048@psf.upfronthosting.co.za>
2017-04-13 01:07:37methanelinkissue30048 messages
2017-04-13 01:07:37methanecreate