%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python3.8/asyncio/__pycache__/
Upload File :
Create Path :
Current File : //usr/local/lib/python3.8/asyncio/__pycache__/runners.cpython-38.pyc

U

p©ßaã@sBdZddlmZddlmZddlmZddœdd„Zd	d
„ZdS))Úruné)Ú
coroutines)Úevents)ÚtasksN)ÚdebugcCs–t ¡dk	rtdƒ‚t |¡s,td |¡ƒ‚t ¡}z*t |¡|dk	rR| 
|¡| |¡W¢Szt
|ƒ| | ¡¡W5t 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_loopÚcloseÚ_cancel_all_tasksÚrun_until_completeZshutdown_asyncgensZ	set_debug)ÚmainrÚloop©rú+/usr/local/lib/python3.8/asyncio/runners.pyrs"ÿ



rcCsvt |¡}|sdS|D]}| ¡q| tj||ddœŽ¡|D]0}| ¡rNq@| ¡dk	r@| d| ¡|dœ¡q@dS)NT)rZreturn_exceptionsz1unhandled exception during asyncio.run() shutdown)ÚmessageÚ	exceptionÚtask)rZ	all_tasksÚcancelrZgatherÚ	cancelledrZcall_exception_handler)rZ	to_cancelrrrrr6s"

ÿýr)Ú__all__ÚrrrrrrrrrÚ<module>s
.

Zerion Mini Shell 1.0