$26 GRAYBYTE WORDPRESS FILE MANAGER $13

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
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__//timeouts.cpython-311.pyc
�

���h�����ddlZddlmZddlmZmZmZddlmZddlm	Z	ddlm
Z
dZGd	�d
ej��Z
eGd�d����Zd
eedefd�Zdeedefd�ZdS)�N)�
TracebackType)�final�Optional�Type�)�events)�
exceptions)�tasks)�Timeout�timeout�
timeout_atc�"�eZdZdZdZdZdZdZdS)�_State�created�active�expiring�expired�finishedN)�__name__�
__module__�__qualname__�CREATED�ENTERED�EXPIRING�EXPIRED�EXITED���7/opt/alt/python311/lib64/python3.11/asyncio/timeouts.pyrrs'�������G��G��H��G�
�F�F�Frrc	���eZdZdZdeeddfd�Zdeefd�Zdeeddfd�Zde	fd�Z
defd	�Zdd
�Z
deeedeed
eedee	fd�Zdd�ZdS)rz�Asynchronous context manager for cancelling overdue coroutines.

    Use `timeout()` or `timeout_at()` rather than instantiating this class directly.
    �when�returnNc�R�tj|_d|_d|_||_dS)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���>B���+/��
���
�
�
rc��|jS)zReturn the current deadline.)r'�r(s rr!zTimeout.when.s
���z�rc���|jtjur?|jtjurt	d���t	d|jj�d����||_|j�|j���|�	d|_dStj
��}||���kr!|�|j
��|_dS|�||j
��|_dS)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�,�,��{�f�n�,�,�"�#A�B�B�B��E�$�+�*;�E�E�E���
���
�� �,��!�(�(�*�*�*��<�$(�D�!�!�!��*�,�,�D��t�y�y�{�{�"�"�(,���t�7G�(H�(H��%�%�%�(,���T�4�;K�(L�(L��%�%�%rc�@�|jtjtjfvS)z$Is timeout expired during execution?)r$rrrr+s rrzTimeout.expiredIs���{�v����?�?�?rc���dg}|jtjur6|j�t	|jd��nd}|�d|����d�|��}d|jj�d|�d�S)N��zwhen=� z
<Timeout [�]�>)r$rrr'�round�append�joinr.)r(�infor!�info_strs    r�__repr__zTimeout.__repr__Msz���t���;�&�.�(�(�+/�:�+A�5���Q�'�'�'�t�D��K�K�����'�'�'��8�8�D�>�>��;�D�K�-�;�;��;�;�;�;rc��6K�|jtjurtd���t	j��}|�td���tj|_||_|j���|_	|�
|j��|S)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�,�,��A�B�B�B��!�#�#���<��E�F�F�F��n�����
��:�0�0�2�2�������
�#�#�#��r�exc_type�exc_val�exc_tbc��K�|jtjtjfvsJ�|j� |j���d|_|jtjurJtj|_|j���|j	kr|tjurt|�n$|jtjurtj
|_dS�N)r$rrrr%r/rr&�uncancelrGr	�CancelledError�TimeoutErrorr)r(rJrKrLs    r�	__aexit__zTimeout.__aexit__as������{�v�~�v��?�?�?�?�?�� �,��!�(�(�*�*�*�$(�D�!��;�&�/�)�)� �.�D�K��z�"�"�$�$��(8�8�8�X��Ib�=b�=b�#��/��
�[�F�N�
*�
*� �-�D�K��trc��|jtjusJ�|j���tj|_d|_dSrN)r$rrr&r/rr%r+s rr3zTimeout._on_timeoutysB���{�f�n�,�,�,�,��
�������o��� $����r)r"r)r"N)rrr�__doc__r�floatr)r!r6�boolr�strrCrIr�
BaseExceptionrrRr3rrrrrsD��������
�X�e�_��������h�u�o�����M�x���M�4�M�M�M�M�.@��@�@�@�@�<�#�<�<�<�<�
�
�
�
���4�
�.�/���-�(����'�	�

�$������0%�%�%�%�%�%rr�delayr"c�x�tj��}t|�|���|znd��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�s7�� �"�$�$�D��%�*;�4�9�9�;�;��&�&��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�����c%�c%�c%�c%�c%�c%�c%���c%�LG�8�E�?�G�w�G�G�G�G�(�X�e�_��������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