[issue45390] asyncio.Task doesn't propagate CancelledError() exception correctly.

Chris Jerdonek report at bugs.python.org
Thu Feb 17 05:23:56 EST 2022


Chris Jerdonek <chris.jerdonek at gmail.com> added the comment:

Andrew, the approach I described would I feel be much better. It would result in more concise, less verbose tracebacks, as opposed to more verbose -- not just because the message won't be repeated, but also because it eliminates the unneeded creation of intermediate exceptions. It would also cause is checks to work, which is what we want since behaviorally it should be the same exception.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45390>
_______________________________________


More information about the Python-bugs-list mailing list