You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Using AsyncClientSession#subscribe async generator swallows the CancellationError #544
Using AsyncClientSession#subscribe async generator swallows the CancellationError, prevent proper cancellation handling of subscription tasks. The subscription still ends as expected, but does not re-raise the CancelledError which breaks the asyncio contract.
Activity
leszekhanusz commentedon May 20, 2025
Thanks for your bug report. You're completely right.
PR #548 should fix this issue.