$47 GRAYBYTE WORDPRESS FILE MANAGER $43

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

/lib64/python3.12/asyncio/__pycache__/

HOME
Current File : /lib64/python3.12/asyncio/__pycache__//timeouts.cpython-312.pyc
�

�֦i�����ddlZddlmZddlmZmZmZddlmZddlm	Z	ddlm
Z
dZGd	�d
ej�Z
eGd�d��Zd
eedefd�Zdeedefd�Zy)�N)�
TracebackType)�final�Optional�Type�)�events)�
exceptions)�tasks)�Timeout�timeout�
timeout_atc� �eZdZdZdZdZdZdZy)�_State�created�active�expiring�expired�finishedN)�__name__�
__module__�__qualname__�CREATED�ENTERED�EXPIRING�EXPIRED�EXITED���)/usr/lib64/python3.12/asyncio/timeouts.pyrrs���G��G��H��G�
�Frrc	��eZdZdZdeeddfd�Zdeefd�Zdeeddfd�Zde	fd�Z
defd	�Zdd
�Z
deeedeed
eedee	fd�Zdd�Zy)rz�Asynchronous context manager for cancelling overdue coroutines.

    Use `timeout()` or `timeout_at()` rather than instantiating this class directly.
    �when�returnNc�X�tj|_d|_d|_||_y)z�Schedule a timeout that will trigger at a given loop time.

        - If `when` is `None`, the timeout will never trigger.
        - If `when < loop.time()`, the timeout will trigger on the next
          iteration of the event loop.
        N)rr�_state�_timeout_handler�_task�_when)�selfr!s  r�__init__zTimeout.__init__!s%���n�n���>B���+/��
���
rc��|jS)zReturn the current deadline.)r'�r(s rr!zTimeout.when.s���z�z�rc��|jtjurJ|jtjurt	d��t	d|jj
�d���||_|j�|jj�|�d|_ytj�}||j�kr!|j|j�|_y|j||j�|_y)zReschedule the timeout.zTimeout has not been enteredzCannot change state of z TimeoutN)r$rrr�RuntimeError�valuer'r%�cancelr�get_running_loop�time�	call_soon�_on_timeout�call_at)r(r!�loops   r�
reschedulezTimeout.reschedule2s����;�;�f�n�n�,��{�{�f�n�n�,�"�#A�B�B��)�$�+�+�*;�*;�)<�H�E��
���
�� � �,��!�!�(�(�*��<�$(�D�!��*�*�,�D��t�y�y�{�"�(,���t�7G�7G�(H��%�(,���T�4�;K�;K�(L��%rc�Z�|jtjtjfvS)z$Is timeout expired during execution?)r$rrrr+s rrzTimeout.expiredIs���{�{�v������?�?�?rc��dg}|jtjur8|j�t	|jd�nd}|jd|���dj
|�}d|jj�d|�d�S)N��zwhen=� z
<Timeout [�]�>)r$rrr'�round�append�joinr.)r(�infor!�info_strs    r�__repr__zTimeout.__repr__Mss���t���;�;�&�.�.�(�+/�:�:�+A�5����Q�'�t�D��K�K�%��v��'��8�8�D�>���D�K�K�-�-�.�a��z��;�;rc��JK�|jtjurtd��t	j
�}|�td��tj|_||_|jj�|_	|j|j�|S�w)Nz Timeout has already been enteredz$Timeout should be used inside a task)r$rrr-r
�current_taskrr&�
cancelling�_cancellingr6r')r(�tasks  r�
__aenter__zTimeout.__aenter__Us}�����;�;�f�n�n�,��A�B�B��!�!�#���<��E�F�F��n�n�����
��:�:�0�0�2�������
�
�#���s�B!B#�exc_type�exc_val�exc_tbc��K�|jtjtjfvsJ�|j�!|jj�d|_|jtjurVtj|_|jj�|jkr|tjurt|�y|jtjurtj|_y�w�N)r$rrrr%r/rr&�uncancelrGr	�CancelledError�TimeoutErrorr)r(rJrKrLs    r�	__aexit__zTimeout.__aexit__as������{�{�v�~�~�v���?�?�?�?�� � �,��!�!�(�(�*�$(�D�!��;�;�&�/�/�)� �.�.�D�K��z�z�"�"�$��(8�(8�8�X��Ib�Ib�=b�#��/���[�[�F�N�N�
*� �-�-�D�K��s�DDc��|jtjusJ�|jj	�tj
|_d|_yrN)r$rrr&r/rr%r+s rr3zTimeout._on_timeoutys;���{�{�f�n�n�,�,�,��
�
�����o�o��� $��r)r"r)r"N)rrr�__doc__r�floatr)r!r6�boolr�strrCrIr�
BaseExceptionrrRr3rrrrrs����
�X�e�_�����h�u�o��M�x���M�4�M�.@��@�<�#�<�
���4�
�.�/���-�(����'�	�

�$���0%rr�delayr"c�r�tj�}t|�|j�|z�Sd�S)a	Timeout async context manager.

    Useful in cases when you want to apply timeout logic around block
    of code or in cases when asyncio.wait_for is not suitable. For example:

    >>> async with asyncio.timeout(10):  # 10 seconds timeout
    ...     await long_running_task()


    delay - value in seconds or None to disable timeout logic

    long_running_task() is interrupted by raising asyncio.CancelledError,
    the top-most affected timeout() context manager converts CancelledError
    into TimeoutError.
    N)rr0rr1)rYr5s  rrr�s5�� �"�"�$�D��%�*;�4�9�9�;��&�F�F��F�Frr!c��t|�S)abSchedule the timeout at absolute time.

    Like timeout() but argument gives absolute time in the same clock system
    as loop.time().

    Please note: it is not POSIX time but a time with
    undefined starting base, e.g. the time of the system power on.

    >>> async with asyncio.timeout_at(loop.time() + 10):
    ...     await long_running_task()


    when - a deadline when timeout occurs or None to disable timeout logic

    long_running_task() is interrupted by raising asyncio.CancelledError,
    the top-most affected timeout() context manager converts CancelledError
    into TimeoutError.
    )r)r!s rr
r
�s��&�4�=�r)�enum�typesr�typingrrrr9rr	r
�__all__�EnumrrrUrr
rrr�<module>ras����(�(�������T�Y�Y���c%�c%��c%�LG�8�E�?�G�w�G�(�X�e�_���r

Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
26 May 2026 8.05 AM
root / root
0755
__init__.cpython-312.opt-1.pyc
1.425 KB
27 Apr 2026 4.36 PM
root / root
0644
__init__.cpython-312.opt-2.pyc
1.374 KB
27 Apr 2026 4.36 PM
root / root
0644
__init__.cpython-312.pyc
1.425 KB
27 Apr 2026 4.36 PM
root / root
0644
__main__.cpython-312.opt-1.pyc
5.329 KB
27 Apr 2026 4.36 PM
root / root
0644
__main__.cpython-312.opt-2.pyc
5.329 KB
27 Apr 2026 4.36 PM
root / root
0644
__main__.cpython-312.pyc
5.329 KB
27 Apr 2026 4.36 PM
root / root
0644
base_events.cpython-312.opt-1.pyc
84.614 KB
27 Apr 2026 4.36 PM
root / root
0644
base_events.cpython-312.opt-2.pyc
75.425 KB
27 Apr 2026 4.36 PM
root / root
0644
base_events.cpython-312.pyc
84.715 KB
27 Apr 2026 4.36 PM
root / root
0644
base_futures.cpython-312.opt-1.pyc
3.016 KB
27 Apr 2026 4.36 PM
root / root
0644
base_futures.cpython-312.opt-2.pyc
2.783 KB
27 Apr 2026 4.36 PM
root / root
0644
base_futures.cpython-312.pyc
3.016 KB
27 Apr 2026 4.36 PM
root / root
0644
base_subprocess.cpython-312.opt-1.pyc
15.503 KB
27 Apr 2026 4.36 PM
root / root
0644
base_subprocess.cpython-312.opt-2.pyc
15.412 KB
27 Apr 2026 4.36 PM
root / root
0644
base_subprocess.cpython-312.pyc
15.703 KB
27 Apr 2026 4.36 PM
root / root
0644
base_tasks.cpython-312.opt-1.pyc
3.984 KB
27 Apr 2026 4.36 PM
root / root
0644
base_tasks.cpython-312.opt-2.pyc
3.984 KB
27 Apr 2026 4.36 PM
root / root
0644
base_tasks.cpython-312.pyc
3.984 KB
27 Apr 2026 4.36 PM
root / root
0644
constants.cpython-312.opt-1.pyc
0.935 KB
27 Apr 2026 4.36 PM
root / root
0644
constants.cpython-312.opt-2.pyc
0.935 KB
27 Apr 2026 4.36 PM
root / root
0644
constants.cpython-312.pyc
0.935 KB
27 Apr 2026 4.36 PM
root / root
0644
coroutines.cpython-312.opt-1.pyc
3.639 KB
27 Apr 2026 4.36 PM
root / root
0644
coroutines.cpython-312.opt-2.pyc
3.553 KB
27 Apr 2026 4.36 PM
root / root
0644
coroutines.cpython-312.pyc
3.683 KB
27 Apr 2026 4.36 PM
root / root
0644
events.cpython-312.opt-1.pyc
35.883 KB
27 Apr 2026 4.36 PM
root / root
0644
events.cpython-312.opt-2.pyc
26.823 KB
27 Apr 2026 4.36 PM
root / root
0644
events.cpython-312.pyc
35.883 KB
27 Apr 2026 4.36 PM
root / root
0644
exceptions.cpython-312.opt-1.pyc
3.011 KB
27 Apr 2026 4.36 PM
root / root
0644
exceptions.cpython-312.opt-2.pyc
2.394 KB
27 Apr 2026 4.36 PM
root / root
0644
exceptions.cpython-312.pyc
3.011 KB
27 Apr 2026 4.36 PM
root / root
0644
format_helpers.cpython-312.opt-1.pyc
3.778 KB
27 Apr 2026 4.36 PM
root / root
0644
format_helpers.cpython-312.opt-2.pyc
3.555 KB
27 Apr 2026 4.36 PM
root / root
0644
format_helpers.cpython-312.pyc
3.778 KB
27 Apr 2026 4.36 PM
root / root
0644
futures.cpython-312.opt-1.pyc
16.551 KB
27 Apr 2026 4.36 PM
root / root
0644
futures.cpython-312.opt-2.pyc
13.251 KB
27 Apr 2026 4.36 PM
root / root
0644
futures.cpython-312.pyc
16.902 KB
27 Apr 2026 4.36 PM
root / root
0644
locks.cpython-312.opt-1.pyc
26.778 KB
27 Apr 2026 4.36 PM
root / root
0644
locks.cpython-312.opt-2.pyc
19.778 KB
27 Apr 2026 4.36 PM
root / root
0644
locks.cpython-312.pyc
26.778 KB
27 Apr 2026 4.36 PM
root / root
0644
log.cpython-312.opt-1.pyc
0.276 KB
27 Apr 2026 4.36 PM
root / root
0644
log.cpython-312.opt-2.pyc
0.242 KB
27 Apr 2026 4.36 PM
root / root
0644
log.cpython-312.pyc
0.276 KB
27 Apr 2026 4.36 PM
root / root
0644
mixins.cpython-312.opt-1.pyc
1.006 KB
27 Apr 2026 4.36 PM
root / root
0644
mixins.cpython-312.opt-2.pyc
0.976 KB
27 Apr 2026 4.36 PM
root / root
0644
mixins.cpython-312.pyc
1.006 KB
27 Apr 2026 4.36 PM
root / root
0644
proactor_events.cpython-312.opt-1.pyc
43.01 KB
27 Apr 2026 4.36 PM
root / root
0644
proactor_events.cpython-312.opt-2.pyc
42.643 KB
27 Apr 2026 4.36 PM
root / root
0644
proactor_events.cpython-312.pyc
43.699 KB
27 Apr 2026 4.36 PM
root / root
0644
protocols.cpython-312.opt-1.pyc
8.578 KB
27 Apr 2026 4.36 PM
root / root
0644
protocols.cpython-312.opt-2.pyc
3.683 KB
27 Apr 2026 4.36 PM
root / root
0644
protocols.cpython-312.pyc
8.578 KB
27 Apr 2026 4.36 PM
root / root
0644
queues.cpython-312.opt-1.pyc
11.663 KB
27 Apr 2026 4.36 PM
root / root
0644
queues.cpython-312.opt-2.pyc
9.125 KB
27 Apr 2026 4.36 PM
root / root
0644
queues.cpython-312.pyc
11.663 KB
27 Apr 2026 4.36 PM
root / root
0644
runners.cpython-312.opt-1.pyc
9.758 KB
27 Apr 2026 4.36 PM
root / root
0644
runners.cpython-312.opt-2.pyc
7.916 KB
27 Apr 2026 4.36 PM
root / root
0644
runners.cpython-312.pyc
9.758 KB
27 Apr 2026 4.36 PM
root / root
0644
selector_events.cpython-312.opt-1.pyc
61.701 KB
27 Apr 2026 4.36 PM
root / root
0644
selector_events.cpython-312.opt-2.pyc
59.739 KB
27 Apr 2026 4.36 PM
root / root
0644
selector_events.cpython-312.pyc
61.836 KB
27 Apr 2026 4.36 PM
root / root
0644
sslproto.cpython-312.opt-1.pyc
40.828 KB
27 Apr 2026 4.36 PM
root / root
0644
sslproto.cpython-312.opt-2.pyc
36.979 KB
27 Apr 2026 4.36 PM
root / root
0644
sslproto.cpython-312.pyc
40.912 KB
27 Apr 2026 4.36 PM
root / root
0644
staggered.cpython-312.opt-1.pyc
6.248 KB
27 Apr 2026 4.36 PM
root / root
0644
staggered.cpython-312.opt-2.pyc
4.176 KB
27 Apr 2026 4.36 PM
root / root
0644
staggered.cpython-312.pyc
6.396 KB
27 Apr 2026 4.36 PM
root / root
0644
streams.cpython-312.opt-1.pyc
32.185 KB
27 Apr 2026 4.36 PM
root / root
0644
streams.cpython-312.opt-2.pyc
26.533 KB
27 Apr 2026 4.36 PM
root / root
0644
streams.cpython-312.pyc
32.586 KB
27 Apr 2026 4.36 PM
root / root
0644
subprocess.cpython-312.opt-1.pyc
11.79 KB
27 Apr 2026 4.36 PM
root / root
0644
subprocess.cpython-312.opt-2.pyc
11.674 KB
27 Apr 2026 4.36 PM
root / root
0644
subprocess.cpython-312.pyc
11.813 KB
27 Apr 2026 4.36 PM
root / root
0644
taskgroups.cpython-312.opt-1.pyc
8.151 KB
27 Apr 2026 4.36 PM
root / root
0644
taskgroups.cpython-312.opt-2.pyc
7.49 KB
27 Apr 2026 4.36 PM
root / root
0644
taskgroups.cpython-312.pyc
8.246 KB
27 Apr 2026 4.36 PM
root / root
0644
tasks.cpython-312.opt-1.pyc
39.244 KB
27 Apr 2026 4.36 PM
root / root
0644
tasks.cpython-312.opt-2.pyc
30.649 KB
27 Apr 2026 4.36 PM
root / root
0644
tasks.cpython-312.pyc
39.367 KB
27 Apr 2026 4.36 PM
root / root
0644
threads.cpython-312.opt-1.pyc
1.23 KB
27 Apr 2026 4.36 PM
root / root
0644
threads.cpython-312.opt-2.pyc
0.786 KB
27 Apr 2026 4.36 PM
root / root
0644
threads.cpython-312.pyc
1.23 KB
27 Apr 2026 4.36 PM
root / root
0644
timeouts.cpython-312.opt-1.pyc
7.411 KB
27 Apr 2026 4.36 PM
root / root
0644
timeouts.cpython-312.opt-2.pyc
5.853 KB
27 Apr 2026 4.36 PM
root / root
0644
timeouts.cpython-312.pyc
7.616 KB
27 Apr 2026 4.36 PM
root / root
0644
transports.cpython-312.opt-1.pyc
13.658 KB
27 Apr 2026 4.36 PM
root / root
0644
transports.cpython-312.opt-2.pyc
8.455 KB
27 Apr 2026 4.36 PM
root / root
0644
transports.cpython-312.pyc
13.678 KB
27 Apr 2026 4.36 PM
root / root
0644
trsock.cpython-312.opt-1.pyc
4.962 KB
27 Apr 2026 4.36 PM
root / root
0644
trsock.cpython-312.opt-2.pyc
4.716 KB
27 Apr 2026 4.36 PM
root / root
0644
trsock.cpython-312.pyc
4.962 KB
27 Apr 2026 4.36 PM
root / root
0644
unix_events.cpython-312.opt-1.pyc
65.472 KB
27 Apr 2026 4.36 PM
root / root
0644
unix_events.cpython-312.opt-2.pyc
60.543 KB
27 Apr 2026 4.36 PM
root / root
0644
unix_events.cpython-312.pyc
66.143 KB
27 Apr 2026 4.36 PM
root / root
0644
windows_events.cpython-312.opt-1.pyc
40.507 KB
27 Apr 2026 4.36 PM
root / root
0644
windows_events.cpython-312.opt-2.pyc
39.467 KB
27 Apr 2026 4.36 PM
root / root
0644
windows_events.cpython-312.pyc
40.552 KB
27 Apr 2026 4.36 PM
root / root
0644
windows_utils.cpython-312.opt-1.pyc
7.011 KB
27 Apr 2026 4.36 PM
root / root
0644
windows_utils.cpython-312.opt-2.pyc
6.604 KB
27 Apr 2026 4.36 PM
root / root
0644
windows_utils.cpython-312.pyc
7.163 KB
27 Apr 2026 4.36 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF Static GIF