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 yselivanov
Recipients achimnol, asvetlov, gustavo, gvanrossum, socketpair, yselivanov
Date 2018-09-24.17:47:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Closing this issue as I, personally, don't see this happening and there's no point in keeping it open.

Actually, Andrew and I changed our opinion on this, so I'm re-opening the issue.

After visiting three conferences this summer and talking to asyncio users, it seems that this is a very serious pitfall.  At least 8 different people shared stories about really hard to debug problems caused by "except Exception" code blocking cancellation.

I now think we should fix this and make CancelledError a BaseException.  Doing that isn't as straightforward as it seems as we have to first fix how asyncio handles BaseExceptions (my next ToDo).
Date User Action Args
2018-09-24 17:47:33yselivanovsetrecipients: + yselivanov, gvanrossum, gustavo, asvetlov, socketpair, achimnol
2018-09-24 17:47:33yselivanovsetmessageid: <>
2018-09-24 17:47:33yselivanovlinkissue32528 messages
2018-09-24 17:47:33yselivanovcreate