Uname: Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.213.251.212
Your Ip: 18.216.53.238
User: allssztx (535) | Group: allssztx (533)
Safe Mode: OFF
Disable Function:
NONE

name : runners.cpython-37.pyc
B

� f��@sBdZddlmZddlmZddlmZdd�dd�Zd	d
�ZdS))�run�)�
coroutines)�events)�tasksF)�debugcCs�t��dk	rtd��t�|�s,td�|���t��}zt�|�|�	|�|�
|�Szt|�|�
|���Wdt�d�|�
�XXdS)a�Execute the coroutine and return the result.

    This function runs the passed coroutine, taking care of
    managing the asyncio event loop and finalizing asynchronous
    generators.

    This function cannot be called when another asyncio event loop is
    running in the same thread.

    If debug is True, the event loop will be run in debug mode.

    This function always creates a new event loop and closes it at the end.
    It should be used as a main entry point for asyncio programs, and should
    ideally only be called once.

    Example:

        async def main():
            await asyncio.sleep(1)
            print('hello')

        asyncio.run(main())
    Nz8asyncio.run() cannot be called from a running event loopz"a coroutine was expected, got {!r})rZ_get_running_loop�RuntimeErrorrZiscoroutine�
ValueError�formatZnew_event_loopZset_event_loopZ	set_debug�run_until_complete�_cancel_all_tasksZshutdown_asyncgens�close)�mainr�loop�r�4/opt/alt/python37/lib64/python3.7/asyncio/runners.pyrs




rcCs~t�|�}|sdSx|D]}|��qW|�tj||dd���x8|D]0}|��rTqF|��dk	rF|�d|��|d��qFWdS)NT)rZreturn_exceptionsz1unhandled exception during asyncio.run() shutdown)�message�	exception�task)rZ	all_tasksZcancelr
ZgatherZ	cancelledrZcall_exception_handler)rZ	to_cancelrrrrr5s


rN)�__all__�rrrrrrrrr�<module>s
-
© 2025 GrazzMean-Shell