We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c281bc commit cf355aeCopy full SHA for cf355ae
1 file changed
src/a2a/client/transports/http_helpers.py
@@ -104,9 +104,9 @@ class _SSEEventSource:
104
"""Class-based replacement for ``httpx_sse.aconnect_sse``.
105
106
``aconnect_sse`` is an ``@asynccontextmanager`` whose internal async
107
- generator leaks into ``loop._asyncgens``. When the enclosing async
108
- generator is abandoned, ``shutdown_asyncgens`` collides with the
109
- cascading ``athrow()`` cleanup — see https://bugs.python.org/issue38559.
+ generator gets tracked by the event loop. When the enclosing async
+ generator is abandoned, the event loop's generator cleanup collides
+ with the cascading cleanup — see https://bugs.python.org/issue38559.
110
111
Plain ``__aenter__``/``__aexit__`` coroutines avoid this entirely.
112
"""
0 commit comments