$75 GRAYBYTE WORDPRESS FILE MANAGER $78

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python311/lib64/python3.11/asyncio/__pycache__/

HOME
Current File : /opt/alt/python311/lib64/python3.11/asyncio/__pycache__//taskgroups.cpython-311.opt-1.pyc
�

���h!��J�dgZddlmZddlmZddlmZGd�d��ZdS)�	TaskGroup�)�events)�
exceptions)�tasksc�T�eZdZdZd�Zd�Zd�Zd�Zddd�d�Zd	e	d
e
fd�Zd�Zd
�Z
dS)ra9Asynchronous 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|_
dS)NF)�_entered�_exiting�	_aborting�_loop�_parent_task�_parent_cancel_requested�set�_tasks�_errors�_base_error�_on_completed_fut��selfs �9/opt/alt/python311/lib64/python3.11/asyncio/taskgroups.py�__init__zTaskGroup.__init__sV����
���
������
� ���(-��%��e�e���������!%�����c�t�dg}|jr*|�dt|j������|jr*|�dt|j������|jr|�d��n|jr|�d��d�|��}d|�d�S)	N�ztasks=zerrors=�
cancelling�entered� z
<TaskGroup�>)r�append�lenrrr	�join)r�info�info_strs   r�__repr__zTaskGroup.__repr__(s����t���;�	5��K�K�3��T�[�!1�!1�3�3�4�4�4��<�	7��K�K�5�#�d�l�"3�"3�5�5�6�6�6��>�	#��K�K��%�%�%�%�
�]�	#��K�K�	�"�"�"��8�8�D�>�>��'�H�'�'�'�'rc��K�|jrtd|�d����|j�tj��|_tj|j��|_|j�td|�d����d|_|S)N�
TaskGroup z has already been enteredz! cannot determine the parent taskT)r	�RuntimeErrorrr�get_running_loopr�current_taskr
rs r�
__aenter__zTaskGroup.__aenter__6s������=�	@��>�T�>�>�>�@�@�
@��:���0�2�2�D�J�!�.�t�z�:�:�����$��F�T�F�F�F�H�H�
H���
��rc���K�d|_|�#|�|��r|j�||_|tjur|nd}|jr|j���dkrd}|�|js|�	��|j
r{|j�|j�
��|_	|j�d{V��n9#tj$r'}|js|}|�	��Yd}~nd}~wwxYwd|_|j
�{|j�|j�|r	|js|�|�(|tjur|j�|��|jr%	t!d|j��}|d�#d|_wxYwdS)NT�zunhandled errors in a TaskGroup)r
�_is_base_errorrr�CancelledErrorrr
�uncancelr�_abortrrr�
create_futurerr�BaseExceptionGroup)r�et�exc�tb�propagate_cancellation_error�ex�mes       r�	__aexit__zTaskGroup.__aexit__Ds�������
��O��#�#�C�(�(�
�� �(�"�D����2�2�2�C�C��	%��(�	4�� �)�)�+�+�q�0�0�04�,�
�>��>�

����
�
�
��k�	*��%�-�)-��)A�)A�)C�)C��&�

"��,�,�,�,�,�,�,�,�,���,�
"�
"�
"��~�
"�46�0��K�K�M�M�M����������
"����&*�D�"�'�k�	*�.��'��"�"�(�	/���	/�.�.�
�>�b�
�(A�A�A��L����$�$�$��<�	$�
$�'�(I�4�<�X�X���d�"��#���#�#�#�#�	$�	$s$�1
B?�?C5�C0�0C5�E)�)	E2N)�name�contextc��|jstd|�d����|jr|jstd|�d����|jrtd|�d����|�|j�|��}n|j�||���}tj||��|�	|j
��|j�|��|S)zbCreate a new task in this group and return it.

        Similar to `asyncio.create_task`.
        r&z has not been enteredz is finishedz is shutting downN)r;)r	r'r
rrr�create_taskr�_set_task_name�add_done_callback�
_on_task_done�add)r�coror:r;�tasks     rr=zTaskGroup.create_task�s���
�}�	K��I�D�I�I�I�J�J�J��=�	B���	B��@�D�@�@�@�A�A�A��>�	G��E�D�E�E�E�F�F�F��?��:�)�)�$�/�/�D�D��:�)�)�$��)�@�@�D�
��T�4�(�(�(����t�1�2�2�2����������rr4�returnc�:�t|ttf��S)N)�
isinstance�
SystemExit�KeyboardInterrupt)rr4s  rr-zTaskGroup._is_base_error�s���#�
�,=�>�?�?�?rc�x�d|_|jD]*}|���s|����+dS)NT)rr�done�cancel)r�ts  rr0zTaskGroup._abort�sB�������	�	�A��6�6�8�8�
����
�
�
��	�	rc��|j�|��|j�:|js3|j���s|j�d��|���rdS|���}|�dS|j�|��|�	|��r|j
�||_
|j���r,|j�
d|�d|j�d�||d���dS|js=|js8|���d|_|j���dSdSdS)NTzTask z% has errored out but its parent task z is already completed)�message�	exceptionrC)r�discardrrJ�
set_result�	cancelledrOrrr-rr
r�call_exception_handlerrrr0rK)rrCr4s   rr@zTaskGroup._on_task_done�s�������D�!�!�!��!�-�d�k�-��)�.�.�0�0�
8��&�1�1�$�7�7�7��>�>���	��F��n�n�����;��F�����C� � � ����s�#�#�	#��(8�(@�"�D����!�!�#�#�		�
�J�-�-�L�4�L�L�#'�#4�L�L�L� ��	/�/�
�
�
�
�F��~�	'�d�&C�	'�&
�K�K�M�M�M�,0�D�)���$�$�&�&�&�&�&�+	'�	'�	'�	'r)�__name__�
__module__�__qualname__�__doc__rr$r*r9r=�
BaseException�boolr-r0r@�rrrrs���������
&�
&�
&�(�(�(����O$�O$�O$�b)-�d������0@�-�@�D�@�@�@�@����2'�2'�2'�2'�2'rN)�__all__rrrrrrZrr�<module>r\s���
�-��������������������^'�^'�^'�^'�^'�^'�^'�^'�^'�^'r


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
10 Feb 2026 9.36 AM
root / linksafe
0755
__init__.cpython-311.opt-1.pyc
1.326 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
__init__.cpython-311.opt-2.pyc
1.272 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
__init__.cpython-311.pyc
1.326 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
__main__.cpython-311.opt-1.pyc
5.888 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
__main__.cpython-311.opt-2.pyc
5.888 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
__main__.cpython-311.pyc
5.888 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
base_events.cpython-311.opt-1.pyc
89 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
base_events.cpython-311.opt-2.pyc
80.748 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
base_events.cpython-311.pyc
89.081 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
base_futures.cpython-311.opt-1.pyc
3.322 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
base_futures.cpython-311.opt-2.pyc
3.089 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
base_futures.cpython-311.pyc
3.322 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
base_subprocess.cpython-311.opt-1.pyc
16.154 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
base_subprocess.cpython-311.opt-2.pyc
16.063 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
base_subprocess.cpython-311.pyc
16.325 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
base_tasks.cpython-311.opt-1.pyc
4.092 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
base_tasks.cpython-311.opt-2.pyc
4.092 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
base_tasks.cpython-311.pyc
4.092 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
constants.cpython-311.opt-1.pyc
0.954 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
constants.cpython-311.opt-2.pyc
0.954 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
constants.cpython-311.pyc
0.954 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
coroutines.cpython-311.opt-1.pyc
3.859 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
coroutines.cpython-311.opt-2.pyc
3.773 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
coroutines.cpython-311.pyc
3.917 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
events.cpython-311.opt-1.pyc
36.919 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
events.cpython-311.opt-2.pyc
27.832 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
events.cpython-311.pyc
36.919 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
exceptions.cpython-311.opt-1.pyc
3.571 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
exceptions.cpython-311.opt-2.pyc
2.914 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
exceptions.cpython-311.pyc
3.571 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
format_helpers.cpython-311.opt-1.pyc
4.048 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
format_helpers.cpython-311.opt-2.pyc
3.823 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
format_helpers.cpython-311.pyc
4.048 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
futures.cpython-311.opt-1.pyc
17.688 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
futures.cpython-311.opt-2.pyc
14.378 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
futures.cpython-311.pyc
18.084 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
locks.cpython-311.opt-1.pyc
28.536 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
locks.cpython-311.opt-2.pyc
21.504 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
locks.cpython-311.pyc
28.536 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
log.cpython-311.opt-1.pyc
0.301 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
log.cpython-311.opt-2.pyc
0.264 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
log.cpython-311.pyc
0.301 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
mixins.cpython-311.opt-1.pyc
1.182 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
mixins.cpython-311.opt-2.pyc
1.148 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
mixins.cpython-311.pyc
1.182 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
proactor_events.cpython-311.opt-1.pyc
46.059 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
proactor_events.cpython-311.opt-2.pyc
45.672 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
proactor_events.cpython-311.pyc
46.636 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
protocols.cpython-311.opt-1.pyc
9.237 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
protocols.cpython-311.opt-2.pyc
4.345 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
protocols.cpython-311.pyc
9.237 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
queues.cpython-311.opt-1.pyc
12.539 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
queues.cpython-311.opt-2.pyc
9.982 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
queues.cpython-311.pyc
12.539 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
runners.cpython-311.opt-1.pyc
10.007 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
runners.cpython-311.opt-2.pyc
8.438 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
runners.cpython-311.pyc
10.007 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
selector_events.cpython-311.opt-1.pyc
62.623 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
selector_events.cpython-311.opt-2.pyc
60.669 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
selector_events.cpython-311.pyc
62.701 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
sslproto.cpython-311.opt-1.pyc
42.441 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
sslproto.cpython-311.opt-2.pyc
38.593 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
sslproto.cpython-311.pyc
42.506 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
staggered.cpython-311.opt-1.pyc
6.073 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
staggered.cpython-311.opt-2.pyc
3.998 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
staggered.cpython-311.pyc
6.494 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
streams.cpython-311.opt-1.pyc
33.789 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
streams.cpython-311.opt-2.pyc
28.121 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
streams.cpython-311.pyc
34.184 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
subprocess.cpython-311.opt-1.pyc
12.353 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
subprocess.cpython-311.opt-2.pyc
12.233 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
subprocess.cpython-311.pyc
12.379 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
taskgroups.cpython-311.opt-1.pyc
7.813 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
taskgroups.cpython-311.opt-2.pyc
7.146 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
taskgroups.cpython-311.pyc
7.915 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
tasks.cpython-311.opt-1.pyc
39.97 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
tasks.cpython-311.opt-2.pyc
32.238 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
tasks.cpython-311.pyc
40.058 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
threads.cpython-311.opt-1.pyc
1.276 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
threads.cpython-311.opt-2.pyc
0.829 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
threads.cpython-311.pyc
1.276 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
timeouts.cpython-311.opt-1.pyc
7.658 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
timeouts.cpython-311.opt-2.pyc
6.095 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
timeouts.cpython-311.pyc
7.816 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
transports.cpython-311.opt-1.pyc
14.808 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
transports.cpython-311.opt-2.pyc
9.58 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
transports.cpython-311.pyc
14.827 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
trsock.cpython-311.opt-1.pyc
5.271 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
trsock.cpython-311.opt-2.pyc
5.021 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
trsock.cpython-311.pyc
5.271 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
unix_events.cpython-311.opt-1.pyc
70.874 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
unix_events.cpython-311.opt-2.pyc
65.909 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
unix_events.cpython-311.pyc
71.619 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
windows_events.cpython-311.opt-1.pyc
45.901 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
windows_events.cpython-311.opt-2.pyc
44.829 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
windows_events.cpython-311.pyc
45.935 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
windows_utils.cpython-311.opt-1.pyc
7.406 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
windows_utils.cpython-311.opt-2.pyc
6.986 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
windows_utils.cpython-311.pyc
7.588 KB
7 Jan 2026 10.45 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF