MOON
Server: Apache
System: Linux server2.shieldcogroup.com 3.10.0-1160.119.1.el7.tuxcare.els12.x86_64 #1 SMP Fri Nov 8 05:49:38 UTC 2024 x86_64
User: jacom (1029)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/python2.7/site-packages/leapp/libraries/stdlib/eventloop.pyo
�
g��fc@s�ddlmZddlZddlZddlZddlmZdZdZdZ	dZ
dZd	Zd
e
fd��YZej�dkr�enejZdS(
i����(tprint_functionN(tdefaultdictiiiiiitEventLoopKQUEUEcBs\eZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	e
d��ZRS(	icCstj�|_i|_dS(N(tselecttkqueuet_kqueuet_fds(tself((sD/usr/lib/python2.7/site-packages/leapp/libraries/stdlib/eventloop.pyt__init__scCs�g}|t@r2|jtj|tj|��n|t@r^|jtj|tj|��nx_|D]W}y|jj|gd�Wqet	k
r�}|j
t
jt
jfkr��q�qeXqeWdS(Ni(
tPOLL_OUTtappendRtkeventtKQ_FILTER_WRITEtPOLL_INtKQ_FILTER_READRtcontroltOSErrorterrnotEBADFtENOENT(Rtfdtmodetflagsteventstetexc((sD/usr/lib/python2.7/site-packages/leapp/libraries/stdlib/eventloop.pyt_controls
"
"
cCs�|dkrd}n|jjdtj|�}td��}x�|D]�}|j}t|�|jt	j
@r�|jdkr�t||<qF|j
t	jkr�||ctO<qF|j
t	jkrF||ctO<qFqFWt|j��S(NicSstS(N(t	POLL_NULL(((sD/usr/lib/python2.7/site-packages/leapp/libraries/stdlib/eventloop.pyt<lambda>(s(tNoneRRRt
MAX_EVENTSRtidenttprintRRt	KQ_EV_EOFtdatatPOLL_HUPtfilterRR
RR	tlisttitems(RttimeoutRtresultsRR((sD/usr/lib/python2.7/site-packages/leapp/libraries/stdlib/eventloop.pytpoll$s	
	

cCs'||j|<|j||tj�dS(N(RRRt	KQ_EV_ADD(RRR((sD/usr/lib/python2.7/site-packages/leapp/libraries/stdlib/eventloop.pytregister4s
cCs+|j||j|tj�|j|=dS(N(RRRtKQ_EV_DELETE(RR((sD/usr/lib/python2.7/site-packages/leapp/libraries/stdlib/eventloop.pyt
unregister8scCs!|j|�|j||�dS(N(R-R+(RRR((sD/usr/lib/python2.7/site-packages/leapp/libraries/stdlib/eventloop.pytmodify<s
cCs|jj�dS(N(Rtclose(R((sD/usr/lib/python2.7/site-packages/leapp/libraries/stdlib/eventloop.pyR/@scCs
|jjS(N(Rtclosed(R((sD/usr/lib/python2.7/site-packages/leapp/libraries/stdlib/eventloop.pyR0Cs(t__name__t
__module__RRRR)R+R-R.R/tpropertyR0(((sD/usr/lib/python2.7/site-packages/leapp/libraries/stdlib/eventloop.pyRs		
					tDarwin(t
__future__RRtplatformRtcollectionsRRR
tPOLL_PRIR	tPOLL_ERRR#tobjectRtsystemtepollt	EventLoop(((sD/usr/lib/python2.7/site-packages/leapp/libraries/stdlib/eventloop.pyt<module>s8