The Python Language Summit 2024: Limiting Yield in Async Generators
Briefly

Structured concurrency with cancel scopes ensures all sub-tasks are checked for exceptions before allowing the parent task to proceed, preventing silent exception swallowing.
The suspension caused by yields in asynchronous generators hinders proper exception handling in structured concurrency due to issues with call frames and scopes.
Read at Python Software Foundation Blog
[
add
]
[
|
|
]