a DOg3 @sTddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl m Z Gdddej Z GdddejZedkrPed eZeed eiZd D]Zeeee<qe eeZdad az ddlZWneyYn0eZd e_ez e Wn6e!yFtr.callbackz KeyboardInterrupt ) concurrentrZFuturer call_soon_threadsaferesultrrrwriteZ showtraceback)r rrrrrruncodes      z!AsyncIOInteractiveConsole.runcode)__name__ __module__ __qualname__rr# __classcell__rrr rrs rc@seZdZddZdS) REPLThreadc CsvzRdtjdtjdttddd}tj|ddWtjd d td t t j ntjd d td t t j 0dS) Nz asyncio REPL z on zy Use "await" directly instead of "asyncio.run()". Type "help", "copyright", "credits" or "license" for more information. Zps1z>>> zimport asynciozexiting asyncio REPL...)bannerZexitmsgignorez ^coroutine .* was never awaited$)messagecategory) sysversionplatformgetattrconsoleZinteractwarningsfilterwarningsRuntimeWarningr r stop)r r)rrrrunFs* zREPLThread.runN)r$r%r&r6rrrrr(Dsr(__main__zcpython.run_stdinasyncio> __builtins__r$ __package____file__ __loader____spec__FT)$r r8rZconcurrent.futuresrrr-Z threadingrr2rZInteractiveConsolerZThreadr(r$auditZnew_event_loopr Zset_event_loopZ repl_localskeyr r1rrreadline ImportErrorZ repl_threadZdaemonstartZ run_foreverrZdoneZcancelrrrrsH 6