HEX
Server: Apache
System: Linux hn220.greenhost.nl 6.12.58 #3 SMP Wed Nov 19 09:04:59 UTC 2025 x86_64
User: webmaster (87278)
PHP: 8.4.5
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Upload Files
File: //.vs/usr/lib/python3.9/asyncio/__pycache__/__main__.cpython-39.pyc
a

kx�g
�@sFddlZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddl
mZGdd�dej�Z
Gdd�dej�Zedk�rBe��Ze�e�d	eiZd
D]Ze�eee<q�e
ee�ZdadazddlZWney�Yn0e�Zde_e��ze��Wn4e �y:t�r2t�!��s2t�"�daYq�Yq�0�qBq�dS)
�N�)�futurescs$eZdZ�fdd�Zdd�Z�ZS)�AsyncIOInteractiveConsolecs*t��|�|jjjtjO_||_dS)N)�super�__init__�compileZcompiler�flags�astZPyCF_ALLOW_TOP_LEVEL_AWAIT�loop)�self�localsr
��	__class__��&/usr/lib/python3.9/asyncio/__main__.pyrsz"AsyncIOInteractiveConsole.__init__csptj������fdd�}t�|�z
���WStyB�Yn*tyjtr^��	d�n��
�Yn0dS)Nc
sdadat���j�}z
|�}Wntty4�Ynbtyf}zda��|�WYd}~dSd}~0ty�}z��|�WYd}~dSd}~00t	�
|�s���|�dSz�j�
|�at�t��Wn0t�y�}z��|�WYd}~n
d}~00dS)NFT)�repl_future�repl_future_interrupted�types�FunctionTyper�
SystemExit�KeyboardInterruptZ
set_exception�
BaseException�inspectZiscoroutineZ
set_resultr
Zcreate_taskrZ
_chain_future)�func�coroZex�exc��codeZfuturerrr�callbacks,




z3AsyncIOInteractiveConsole.runcode.<locals>.callbackz
KeyboardInterrupt
)�
concurrentrZFuturer
�call_soon_threadsafe�resultrrr�writeZ
showtraceback)rrrrrr�runcodes


z!AsyncIOInteractiveConsole.runcode)�__name__�
__module__�__qualname__rr#�
__classcell__rrr
rrsrc@seZdZdd�ZdS)�
REPLThreadcCsvzRdtj�dtj�dttdd��d�}tj|dd�Wtjd	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...)�bannerZexitmsg�ignorez ^coroutine .* was never awaited$)�message�category)�sys�version�platform�getattr�consoleZinteract�warnings�filterwarnings�RuntimeWarningr
r �stop)rr)rrr�runFs*
������zREPLThread.runN)r$r%r&r6rrrrr(Dsr(�__main__�asyncio>�__builtins__�
__loader__�__file__�__spec__r$�__package__FT)#r	r8rZconcurrent.futuresrrr-Z	threadingrr2�rZInteractiveConsolerZThreadr(r$Znew_event_loopr
Zset_event_loopZrepl_locals�keyrr1rr�readline�ImportErrorZrepl_threadZdaemon�startZrun_foreverrZdoneZcancelrrrr�<module>sF6