ok

Mini Shell

Direktori : /opt/alt/python36/lib64/python3.6/asyncio/__pycache__/
Upload File :
Current File : //opt/alt/python36/lib64/python3.6/asyncio/__pycache__/unix_events.cpython-36.opt-2.pyc

3

��2a���
@sddlZddlZddlZddlZddlZddlZddlZddlZddlZddl	m
Z
ddl	mZddl	mZddl	m
Z
ddl	mZddl	mZdd	l	mZdd
l	mZddl	mZddl	mZdd
lmZddlmZdddddgZejdkr�ed��dd�Zy
ejZWnek
�r(dd�ZYnXGdd�dej�Ze ed��rRdd�Z!nddl"Z"dd�Z!Gd d!�d!ej#�Z$Gd"d#�d#ej%ej&�Z'e ed$��r�ej(Z)nddl"Z"d%d&�Z)Gd'd(�d(ej*�Z+Gd)d�d�Z,Gd*d+�d+e,�Z-Gd,d�de-�Z.Gd-d�de-�Z/Gd.d/�d/ej0�Z1eZ2e1Z3dS)0�N�)�base_events)�base_subprocess)�compat)�	constants)�
coroutines)�events)�futures)�selector_events)�	selectors)�
transports)�	coroutine)�logger�SelectorEventLoop�AbstractChildWatcher�SafeChildWatcher�FastChildWatcher�DefaultEventLoopPolicy�win32z+Signals are not really supported on WindowscCsdS)N�)�signum�framerr�0/opt/alt/python36/lib64/python3.6/unix_events.py�_sighandler_noop%srcCs|S)Nr)�pathrrr�<lambda>.srcs�eZdZd!�fdd�	Zdd�Z�fdd�Zdd	�Zd
d�Zdd
�Zdd�Z	dd�Z
d"dd�Zd#dd�Ze
d$dd��Zdd�Ze
dddd�dd��Ze
d%dddd�dd ��Z�ZS)&�_UnixSelectorEventLoopNcst�j|�i|_dS)N)�super�__init__�_signal_handlers)�self�selector)�	__class__rrr7sz_UnixSelectorEventLoop.__init__cCstj�S)N)�socketZ
socketpair)r rrr�_socketpair;sz"_UnixSelectorEventLoop._socketpaircs^t�j�tj�s2xFt|j�D]}|j|�qWn(|jrZtjd|�d�t	|d�|jj
�dS)NzClosing the loop z@ on interpreter shutdown stage, skipping signal handlers removal)�source)r�close�sys�
is_finalizing�listr�remove_signal_handler�warnings�warn�ResourceWarning�clear)r �sig)r"rrr&>s
z_UnixSelectorEventLoop.closecCs"x|D]}|sq|j|�qWdS)N)�_handle_signal)r �datarrrr�_process_self_dataLs
z)_UnixSelectorEventLoop._process_self_datac+GsHtj|�stj|�rtd��|j|�|j�ytj|jj	��Wn2t
tfk
rt}ztt
|���WYdd}~XnXtj|||�}||j|<ytj|t�tj|d�Wn�tk
�rB}zz|j|=|j�sytjd�Wn4t
tfk
�r}ztjd|�WYdd}~XnX|jtjk�r0tdj|���n�WYdd}~XnXdS)Nz3coroutines cannot be used with add_signal_handler()Frzset_wakeup_fd(-1) failed: %szsig {} cannot be caught���)rZiscoroutineZiscoroutinefunction�	TypeError�
_check_signalZ
_check_closed�signal�
set_wakeup_fdZ_csock�fileno�
ValueError�OSError�RuntimeError�strrZHandlerr�siginterruptr�info�errno�EINVAL�format)r r/�callback�args�exc�handleZnexcrrr�add_signal_handlerSs0



z)_UnixSelectorEventLoop.add_signal_handlercCs8|jj|�}|dkrdS|jr*|j|�n
|j|�dS)N)r�getZ
_cancelledr*Z_add_callback_signalsafe)r r/rErrrr0�sz%_UnixSelectorEventLoop._handle_signalc&Cs�|j|�y|j|=Wntk
r*dSX|tjkr>tj}ntj}ytj||�Wn@tk
r�}z$|jtj	kr�t
dj|���n�WYdd}~XnX|js�ytjd�Wn2t
tfk
r�}ztjd|�WYdd}~XnXdS)NFzsig {} cannot be caughtrzset_wakeup_fd(-1) failed: %sTr3)r5r�KeyErrorr6�SIGINT�default_int_handler�SIG_DFLr:r?r@r;rAr7r9rr>)r r/ZhandlerrDrrrr*�s(

z,_UnixSelectorEventLoop.remove_signal_handlercCsHt|t�stdj|���d|ko,tjknsDtdj|tj���dS)Nzsig must be an int, not {!r}rzsig {} out of range(1, {}))�
isinstance�intr4rAr6�NSIGr9)r r/rrrr5�s

z$_UnixSelectorEventLoop._check_signalcCst|||||�S)N)�_UnixReadPipeTransport)r �pipe�protocol�waiter�extrarrr�_make_read_pipe_transport�sz0_UnixSelectorEventLoop._make_read_pipe_transportcCst|||||�S)N)�_UnixWritePipeTransport)r rPrQrRrSrrr�_make_write_pipe_transport�sz1_UnixSelectorEventLoop._make_write_pipe_transportc	ks�tj���}
|j�}t||||||||f||d�|	��}|
j|j�|j|�y|EdHWn&tk
r~}
z
|
}WYdd}
~
XnXd}|dk	r�|j�|j	�EdH|�WdQRX|S)N)rRrS)
r�get_child_watcherZ
create_future�_UnixSubprocessTransport�add_child_handlerZget_pid�_child_watcher_callback�	Exceptionr&Z_wait)r rQrC�shell�stdin�stdout�stderr�bufsizerS�kwargs�watcherrR�transprD�errrrr�_make_subprocess_transport�s$




z1_UnixSelectorEventLoop._make_subprocess_transportcCs|j|j|�dS)N)Zcall_soon_threadsafeZ_process_exited)r �pid�
returncodercrrrrZ�sz._UnixSelectorEventLoop._child_watcher_callback)�ssl�sock�server_hostnameccs�|r|dkr&td��n|dk	r&td��|dk	r�|dk	r>td��tjtjtjd�}y |jd�|j||�EdHWq�|j��Yq�XnB|dkr�td��|jtjks�tj	|j
�r�tdj|���|jd�|j||||�EdH\}}||fS)Nz/you have to pass server_hostname when using sslz+server_hostname is only meaningful with sslz3path and sock can not be specified at the same timerFzno path and sock were specifiedz2A UNIX Domain Stream Socket was expected, got {!r})
r9r#�AF_UNIX�SOCK_STREAM�setblockingZsock_connectr&�familyr�_is_stream_socket�typerAZ_create_connection_transport)r �protocol_factoryrrhrirj�	transportrQrrr�create_unix_connection�s8


z-_UnixSelectorEventLoop.create_unix_connection�d)ri�backlogrhc
!Cs�t|t�rtd��|dk	�r0|dk	r,td��t|�}tjtjtj�}|dd
kr�y tj	t
j|�j�rnt
j|�WnBt
k
r�Yn0tk
r�}ztjd||�WYdd}~XnXy|j|�Wnjtk
�r}z8|j�|jtjk�rdj|�}ttj|�d�n�WYdd}~Xn|j��YnXn>|dk�rBtd��|jtjk�s`tj|j��rntdj|���tj||g�}	|j|�|jd	�|j||||	�|	S)Nz*ssl argument must be an SSLContext or Nonez3path and sock can not be specified at the same timer�z2Unable to check or remove stale UNIX socket %r: %rzAddress {!r} is already in usez-path was not specified, and no sock specifiedz2A UNIX Domain Stream Socket was expected, got {!r}F)rrv)rL�boolr4r9�_fspathr#rkrl�stat�S_ISSOCK�os�st_mode�remove�FileNotFoundErrorr:r�errorZbindr&r?Z
EADDRINUSErArnrrorpZServerZlistenrmZ_start_serving)
r rqrrirurhrdrD�msgZserverrrr�create_unix_serversP

 




z)_UnixSelectorEventLoop.create_unix_server)N)NN)NN)N)N)�__name__�
__module__�__qualname__rr$r&r2rFr0r*r5rTrVr
rerZrsr��
__classcell__rr)r"rr1s*-
 


%r�set_blockingcCstj|d�dS)NF)r{r�)�fdrrr�_set_nonblockingBsr�cCs,tj|tj�}|tjB}tj|tj|�dS)N)�fcntlZF_GETFLr{�
O_NONBLOCKZF_SETFL)r��flagsrrrr�Gs
cs�eZdZdZd �fdd�	Zdd�Zdd	�Zd
d�Zdd
�Zdd�Z	dd�Z
dd�Zdd�Ze
jrhdd�Zd!dd�Zdd�Zdd�Z�ZS)"rO�iNcs�t�j|�||jd<||_||_|j�|_||_d|_t	j
|j�j}tj
|�pbtj|�pbtj|�s~d|_d|_d|_td��t|j�|jj|jj|�|jj|jj|j|j�|dk	r�|jjtj|d�dS)NrPFz)Pipe transport is for pipes/sockets only.)rr�_extra�_loop�_piper8�_fileno�	_protocol�_closingr{�fstatr|ry�S_ISFIFOrz�S_ISCHRr9r��	call_soon�connection_made�_add_reader�_read_readyr	�_set_result_unless_cancelled)r �looprPrQrRrS�mode)r"rrrQs,






z_UnixReadPipeTransport.__init__cCs�|jjg}|jdkr |jd�n|jr0|jd�|jd|j�t|jdd�}|jdk	r�|dk	r�tj	||jt
j�}|r�|jd�q�|jd�n |jdk	r�|jd�n
|jd�dd	j|�S)
N�closed�closingzfd=%s�	_selector�polling�idle�openz<%s>� )
r"r�r��appendr�r��getattrr�r
�_test_selector_eventrZ
EVENT_READ�join)r r>r!r�rrr�__repr__ns$




z_UnixReadPipeTransport.__repr__cCs�ytj|j|j�}WnDttfk
r,Yn�tk
rX}z|j|d�WYdd}~Xn^X|rl|jj	|�nJ|j
j�r�tj
d|�d|_|j
j|j�|j
j|jj�|j
j|jd�dS)Nz"Fatal read error on pipe transportz%r was closed by peerT)r{�readr��max_size�BlockingIOError�InterruptedErrorr:�_fatal_errorr�Z
data_receivedr��	get_debugrr>r��_remove_readerr�Zeof_received�_call_connection_lost)r r1rDrrrr��s
z"_UnixReadPipeTransport._read_readycCs|jj|j�dS)N)r�r�r�)r rrr�
pause_reading�sz$_UnixReadPipeTransport.pause_readingcCs|jj|j|j�dS)N)r�r�r�r�)r rrr�resume_reading�sz%_UnixReadPipeTransport.resume_readingcCs
||_dS)N)r�)r rQrrr�set_protocol�sz#_UnixReadPipeTransport.set_protocolcCs|jS)N)r�)r rrr�get_protocol�sz#_UnixReadPipeTransport.get_protocolcCs|jS)N)r�)r rrr�
is_closing�sz!_UnixReadPipeTransport.is_closingcCs|js|jd�dS)N)r��_close)r rrrr&�sz_UnixReadPipeTransport.closecCs,|jdk	r(tjd|t|d�|jj�dS)Nzunclosed transport %r)r%)r�r+r,r-r&)r rrr�__del__�s
z_UnixReadPipeTransport.__del__�Fatal error on pipe transportcCsZt|t�r4|jtjkr4|jj�rLtjd||dd�n|jj||||j	d��|j
|�dS)Nz%r: %sT)�exc_info)�message�	exceptionrrrQ)rLr:r?ZEIOr�r�r�debug�call_exception_handlerr�r�)r rDr�rrrr��s
z#_UnixReadPipeTransport._fatal_errorcCs(d|_|jj|j�|jj|j|�dS)NT)r�r�r�r�r�r�)r rDrrrr��sz_UnixReadPipeTransport._closecCs4z|jj|�Wd|jj�d|_d|_d|_XdS)N)r��connection_lostr�r&r�)r rDrrrr��s
z,_UnixReadPipeTransport._call_connection_losti)NN)r�)r�r�r�r�rr�r�r�r�r�r�r�r&r�PY34r�r�r�r�r�rr)r"rrOMs
rOcs�eZdZd%�fdd�	Zdd�Zdd�Zdd	�Zd
d�Zdd
�Zdd�Z	dd�Z
dd�Zdd�Zdd�Z
dd�Zejr|dd�Zdd�Zd&dd �Zd'd!d"�Zd#d$�Z�ZS)(rUNc
s�t�j||�||jd<||_|j�|_||_t�|_d|_	d|_
tj|j�j
}tj|�}tj|�}tj|�}	|px|px|	s�d|_d|_d|_td��t|j�|jj|jj|�|	s�|r�tjjd�r�|jj|jj|j|j�|dk	r�|jjtj|d�dS)NrPrFz?Pipe transport is only for pipes, sockets and character devices�aix)rrr�r�r8r�r��	bytearray�_buffer�
_conn_lostr�r{r�r|ryr�r�rzr9r�r�r�r�r'�platform�
startswithr�r�r	r�)
r r�rPrQrRrSr�Zis_charZis_fifoZ	is_socket)r"rrr�s2






z _UnixWritePipeTransport.__init__cCs�|jjg}|jdkr |jd�n|jr0|jd�|jd|j�t|jdd�}|jdk	r�|dk	r�tj	||jt
j�}|r�|jd�n
|jd�|j�}|jd|�n |jdk	r�|jd�n
|jd�d	d
j
|�S)Nr�r�zfd=%sr�r�r�z
bufsize=%sr�z<%s>r�)r"r�r�r�r�r�r�r�r
r�rZEVENT_WRITE�get_write_buffer_sizer�)r r>r!r�r`rrrr��s(





z _UnixWritePipeTransport.__repr__cCs
t|j�S)N)�lenr�)r rrrr�sz-_UnixWritePipeTransport.get_write_buffer_sizecCs6|jj�rtjd|�|jr*|jt��n|j�dS)Nz%r was closed by peer)r�r�rr>r�r��BrokenPipeError)r rrrr�s

z#_UnixWritePipeTransport._read_readycCst|t�rt|�}|sdS|js&|jrN|jtjkr<tjd�|jd7_dS|j	�s�yt
j|j|�}WnTt
tfk
r�d}Yn:tk
r�}z|jd7_|j|d�dSd}~XnX|t|�kr�dS|dkr�t|�|d�}|jj|j|j�|j	|7_	|j�dS)Nz=pipe closed by peer or os.write(pipe, data) raised exception.rrz#Fatal write error on pipe transport)rLr��
memoryviewr�r�rZ!LOG_THRESHOLD_FOR_CONNLOST_WRITESr�warningr�r{�writer�r�r�r[r�r�r�Z_add_writer�_write_readyZ_maybe_pause_protocol)r r1�nrDrrrr�s2

z_UnixWritePipeTransport.writecCs�ytj|j|j�}Wnjttfk
r,Yn�tk
r~}z8|jj�|jd7_|j	j
|j�|j|d�WYdd}~XnfX|t|j�kr�|jj�|j	j
|j�|j
�|jr�|j	j|j�|jd�dS|dkr�|jd|�=dS)Nrz#Fatal write error on pipe transportr)r{r�r�r�r�r�r[r.r�r��_remove_writerr�r�Z_maybe_resume_protocolr�r�r�)r r�rDrrrr�>s&


z$_UnixWritePipeTransport._write_readycCsdS)NTr)r rrr�
can_write_eofXsz%_UnixWritePipeTransport.can_write_eofcCs8|jr
dSd|_|js4|jj|j�|jj|jd�dS)NT)r�r�r�r�r�r�r�)r rrr�	write_eof[sz!_UnixWritePipeTransport.write_eofcCs
||_dS)N)r�)r rQrrrr�dsz$_UnixWritePipeTransport.set_protocolcCs|jS)N)r�)r rrrr�gsz$_UnixWritePipeTransport.get_protocolcCs|jS)N)r�)r rrrr�jsz"_UnixWritePipeTransport.is_closingcCs|jdk	r|jr|j�dS)N)r�r�r�)r rrrr&msz_UnixWritePipeTransport.closecCs,|jdk	r(tjd|t|d�|jj�dS)Nzunclosed transport %r)r%)r�r+r,r-r&)r rrrr�vs
z_UnixWritePipeTransport.__del__cCs|jd�dS)N)r�)r rrr�abort|sz_UnixWritePipeTransport.abort�Fatal error on pipe transportcCsPt|tj�r*|jj�rBtjd||dd�n|jj||||jd��|j	|�dS)Nz%r: %sT)r�)r�r�rrrQ)
rLrZ_FATAL_ERROR_IGNOREr�r�rr�r�r�r�)r rDr�rrrr�s
z$_UnixWritePipeTransport._fatal_errorcCsFd|_|jr|jj|j�|jj�|jj|j�|jj|j|�dS)NT)	r�r�r�r�r�r.r�r�r�)r rDrrrr��s
z_UnixWritePipeTransport._closecCs4z|jj|�Wd|jj�d|_d|_d|_XdS)N)r�r�r�r&r�)r rDrrrr��s
z-_UnixWritePipeTransport._call_connection_lost)NN)r�)N)r�r�r�rr�r�r�r�r�r�r�r�r�r�r&rr�r�r�r�r�r�r�rr)r"rrU�s$%	!	

rU�set_inheritablecCsNttdd�}tj|tj�}|s4tj|tj||B�ntj|tj||@�dS)NZ
FD_CLOEXECr)r�r�ZF_GETFDZF_SETFD)r�ZinheritableZcloexec_flag�oldrrr�_set_inheritable�s
r�c@seZdZdd�ZdS)rXc		Ksvd}|tjkr*|jj�\}}t|j�d�tj|f||||d|d�|��|_|dk	rr|j�t	|j
�d|d�|j_dS)NF)r\r]r^r_Zuniversal_newlinesr`�wb)�	buffering)�
subprocess�PIPEr�r$r�r8�Popen�_procr&r��detachr])	r rCr\r]r^r_r`raZstdin_wrrr�_start�s
z_UnixSubprocessTransport._startN)r�r�r�r�rrrrrX�srXc@s<eZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
S)rcGs
t��dS)N)�NotImplementedError)r rfrBrCrrrrY�s	z&AbstractChildWatcher.add_child_handlercCs
t��dS)N)r�)r rfrrr�remove_child_handler�sz)AbstractChildWatcher.remove_child_handlercCs
t��dS)N)r�)r r�rrr�attach_loop�sz AbstractChildWatcher.attach_loopcCs
t��dS)N)r�)r rrrr&�szAbstractChildWatcher.closecCs
t��dS)N)r�)r rrr�	__enter__szAbstractChildWatcher.__enter__cCs
t��dS)N)r�)r �a�b�crrr�__exit__	szAbstractChildWatcher.__exit__N)	r�r�r�rYr�r�r&r�r�rrrrr�s
c@sDeZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dS)�BaseChildWatchercCsd|_i|_dS)N)r��
_callbacks)r rrrrszBaseChildWatcher.__init__cCs|jd�dS)N)r�)r rrrr&szBaseChildWatcher.closecCs
t��dS)N)r�)r �expected_pidrrr�_do_waitpidszBaseChildWatcher._do_waitpidcCs
t��dS)N)r�)r rrr�_do_waitpid_allsz BaseChildWatcher._do_waitpid_allcCsf|jdk	r$|dkr$|jr$tjdt�|jdk	r<|jjtj�||_|dk	rb|jtj|j	�|j
�dS)NzCA loop is being detached from a child watcher with pending handlers)r�r�r+r,�RuntimeWarningr*r6�SIGCHLDrF�	_sig_chldr�)r r�rrrr�s
zBaseChildWatcher.attach_loopcCsFy|j�Wn4tk
r@}z|jjd|d��WYdd}~XnXdS)Nz$Unknown exception in SIGCHLD handler)r�r�)r�r[r�r�)r rDrrrr�1szBaseChildWatcher._sig_chldcCs2tj|�rtj|�Stj|�r*tj|�S|SdS)N)r{�WIFSIGNALED�WTERMSIG�	WIFEXITED�WEXITSTATUS)r �statusrrr�_compute_returncode=s



z$BaseChildWatcher._compute_returncodeN)
r�r�r�rr&r�r�r�r�r�rrrrr�sr�csLeZdZ�fdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	�Z
S)rcs|jj�t�j�dS)N)r�r.rr&)r )r"rrr&Vs
zSafeChildWatcher.closecCs|S)Nr)r rrrr�ZszSafeChildWatcher.__enter__cCsdS)Nr)r r�r�r�rrrr�]szSafeChildWatcher.__exit__cGs.|jdkrtd��||f|j|<|j|�dS)NzICannot add child handler, the child watcher does not have a loop attached)r�r;r�r�)r rfrBrCrrrrY`s

z"SafeChildWatcher.add_child_handlercCs&y|j|=dStk
r dSXdS)NTF)r�rH)r rfrrrr�ks
z%SafeChildWatcher.remove_child_handlercCs"xt|j�D]}|j|�qWdS)N)r)r�r�)r rfrrrr�rsz SafeChildWatcher._do_waitpid_allcCs�ytj|tj�\}}Wn(tk
r>|}d}tjd|�Yn0X|dkrLdS|j|�}|jj�rntj	d||�y|j
j|�\}}Wn.tk
r�|jj�r�tjd|dd�YnX|||f|��dS)N�z8Unknown child process pid %d, will report returncode 255rz$process %s exited with returncode %sz'Child watcher got an unexpected pid: %rT)r�)
r{�waitpid�WNOHANG�ChildProcessErrorrr�r�r�r�r�r��poprH)r r�rfr�rgrBrCrrrr�ws*


zSafeChildWatcher._do_waitpid)r�r�r�r&r�r�rYr�r�r�r�rr)r"rrKscsPeZdZ�fdd�Z�fdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	�Z
S)rcs$t�j�tj�|_i|_d|_dS)Nr)rr�	threadingZLock�_lock�_zombies�_forks)r )r"rrr�s

zFastChildWatcher.__init__cs"|jj�|jj�t�j�dS)N)r�r.r�rr&)r )r"rrr&�s

zFastChildWatcher.closec
Cs$|j�|jd7_|SQRXdS)Nr)r�r�)r rrrr��szFastChildWatcher.__enter__c
CsV|j�:|jd8_|js$|jr(dSt|j�}|jj�WdQRXtjd|�dS)Nrz5Caught subprocesses termination from unknown pids: %s)r�r�r�r<r.rr�)r r�r�r�Zcollateral_victimsrrrr��s
zFastChildWatcher.__exit__cGsl|jdkrtd��|j�:y|jj|�}Wn"tk
rL||f|j|<dSXWdQRX|||f|��dS)NzICannot add child handler, the child watcher does not have a loop attached)r�r;r�r�r�rHr�)r rfrBrCrgrrrrY�s
z"FastChildWatcher.add_child_handlercCs&y|j|=dStk
r dSXdS)NTF)r�rH)r rfrrrr��s
z%FastChildWatcher.remove_child_handlercCs�x�ytjdtj�\}}Wntk
r,dSX|dkr:dS|j|�}|j�vy|jj|�\}}WnBtk
r�|j	r�||j
|<|jj�r�t
jd||�wd}YnX|jj�r�t
jd||�WdQRX|dkr�t
jd||�q|||f|��qWdS)Nrrz,unknown process %s exited with returncode %sz$process %s exited with returncode %sz8Caught subprocess termination from unknown pid: %d -> %dr3)r{r�r�r�r�r�r�r�rHr�r�r�r�rr�r�)r rfr�rgrBrCrrrr��s6





z FastChildWatcher._do_waitpid_all)r�r�r�rr&r�r�rYr�r�r�rr)r"rr�s
csDeZdZeZ�fdd�Zdd�Z�fdd�Zdd�Zd	d
�Z	�Z
S)�_UnixDefaultEventLoopPolicycst�j�d|_dS)N)rr�_watcher)r )r"rrrs
z$_UnixDefaultEventLoopPolicy.__init__c
CsHtj�8|jdkr:t�|_ttj�tj�r:|jj|j	j
�WdQRXdS)N)rr�r�rrLr��current_thread�_MainThreadr��_localr�)r rrr�
_init_watchers
z)_UnixDefaultEventLoopPolicy._init_watchercs6t�j|�|jdk	r2ttj�tj�r2|jj|�dS)N)r�set_event_loopr�rLr�r�rr�)r r�)r"rrrs
z*_UnixDefaultEventLoopPolicy.set_event_loopcCs|jdkr|j�|jS)N)r�r)r rrrrW&s
z-_UnixDefaultEventLoopPolicy.get_child_watchercCs|jdk	r|jj�||_dS)N)r�r&)r rbrrr�set_child_watcher0s

z-_UnixDefaultEventLoopPolicy.set_child_watcher)r�r�r�rZ
_loop_factoryrrrrWrr�rr)r"rr�s
r�)4r?r{r6r#ryr�r'r�r+�rrrrrrr	r
rrr
�logr�__all__r��ImportErrorr�fspathrx�AttributeErrorZBaseSelectorEventLoopr�hasattrr�r�Z
ReadTransportrOZ_FlowControlMixinZWriteTransportrUr�r�ZBaseSubprocessTransportrXrr�rrZBaseDefaultEventLoopPolicyr�rrrrrr�<module>sl


O
F=On2

Zerion Mini Shell 1.0