Skip to content

Conversation

@AshwinDeshpandeBG
Copy link

@AshwinDeshpandeBG AshwinDeshpandeBG commented Aug 28, 2025

If a tornado.coroutine raises an asyncio.CancelledError, it is handled badly as an asyncio.CancelledError is not an Exception, but there is no special logic in the tornado.coroutine to handle this BaseException. We suspect this bug was created in python 3.8 when asyncio.CancelledError changed from an Exception to a BaseException.

See bug report: #3537

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant