Andrew Svetlov <andrew.svet...@gmail.com> added the comment: Honestly I have no strong opinion.
Correct code should not be affected, if somebody want to handle task cancellation explicitly -- he already have `except CancelledError` in his code. What are use cases for intentional catching Exception for task cancellation prevention? Could we add a warning for this case without base exception class change? I don't see how to do it but maybe somebody has an idea? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32528> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com