Andrew Svetlov <andrew.svet...@gmail.com> added the comment:

Inheritance from Exception is very annoying, I saw issues with unexpected 
suppressing CancelledError many times.

Even experienced people constantly forget to add a separate `except 
asyncio.CancelledError` clause everywhere.

But proposed change is backward incompatible, sure.

----------

_______________________________________
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

Reply via email to