§
:n‘SEòçã óJ — d gZ ddlmZ ddlmZ ddlmZ G d„ d ¦ « ZdS )Ú TaskGroupé )Úevents)Ú
exceptions)Útasksc óT — e Zd ZdZd„ Zd„ Zd„ Zd„ Zdddœd„Zd e d
e
fd„Zd„ Zd
„ Z
dS )r a9 Asynchronous context manager for managing groups of tasks.
Example use:
async with asyncio.TaskGroup() as group:
task1 = group.create_task(some_coroutine(...))
task2 = group.create_task(other_coroutine(...))
print("Both tasks have completed now.")
All tasks are awaited when the context manager exits.
Any exceptions other than `asyncio.CancelledError` raised within
a task will cancel all remaining tasks and wait for them to exit.
The exceptions are then combined and raised as an `ExceptionGroup`.
c óª — d| _ d| _ d| _ d | _ d | _ d| _ t
¦ « | _ g | _ d | _ d | _
d S )NF)Ú_enteredÚ_exitingÚ _abortingÚ_loopÚ_parent_taskÚ_parent_cancel_requestedÚsetÚ_tasksÚ_errorsÚ_base_errorÚ_on_completed_fut©Úselfs ú?/opt/alt/python-internal/lib64/python3.11/asyncio/taskgroups.pyÚ__init__zTaskGroup.__init__ sV € ؈Œ
؈Œ
؈ŒØˆŒ
Ø ˆÔØ(-ˆÔ%Ý‘e”eˆŒØˆŒØˆÔØ!%ˆÔÐÐó c ót — dg}| j r*| dt | j ¦ « › �¦ « | j r*| dt | j ¦ « › �¦ « | j r| d¦ « n| j r| d¦ « d |¦ « }d|› d�S ) NÚ ztasks=zerrors=Ú
cancellingÚenteredú z