Your IP : 3.146.37.242


Current Path : /opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/wait.pyc

�
�Rec@sddlZddlmZddlZddlZyddlmZWn!ek
rkddlmZnXdddgZde	fd��YZ
ejdkr�d�Zn	d�Ze
e
dd
�Ze
e
dd�Zd�Zd�Zd�add�Zdd�ZdS(i����N(tpartial(t	monotonic(ttimetNoWayToWaitForSocketErrort
wait_for_readtwait_for_writecBseZRS((t__name__t
__module__(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/wait.pyRsiicCs
||�S(N((tfnttimeout((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/wait.pyt_retry_on_intr*scCs�|dkrtd�}n
t�|}x�tr�y||�SWq+ttjfk
r�}|jdtj	krv�q�|t�}|dkr�d}n|td�kr+d}q+q+q+Xq+WdS(Ntinfi(
tNonetfloatRtTruetOSErrortselectterrortargsterrnotEINTR(RR	tdeadlinete((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/wait.pyR
0s
	
		c
Cs�|r|rtd��ng}g}|r?|j|�n|rU|j|�nttj|||�}t||�\}}}	t|p�|p�|	�S(Ns2must specify at least one of read=True, write=True(tRuntimeErrortappendRRR
tbool(
tsocktreadtwriteR	trchecktwcheckRtrreadytwreadytxready((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/wait.pytselect_wait_for_socketGscs�|r|rtd��nd}|r9|tjO}n|rO|tjO}ntj���j||��fd�}tt||��S(Ns2must specify at least one of read=True, write=Trueics&|dk	r|d9}n�j|�S(Ni�(Rtpoll(tt(tpoll_obj(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/wait.pytdo_pollfs
(RRtPOLLINtPOLLOUTR#tregisterRR
(RRRR	tmaskR&((R%s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/wait.pytpoll_wait_for_socketZscOstd��dS(Nsno select-equivalent available(R(Rtkwargs((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/wait.pytnull_wait_for_socketnscCsCy tj�}t|jd�Wnttfk
r:tSXtSdS(Ni(RR#R
tAttributeErrorRtFalseR(R%((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/wait.pyt_have_working_pollrscOs=t�rtanttd�r*tantat||�S(NR(R0R+twait_for_socketthasattrRR"R-(RR,((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/wait.pyR1s			cCst|dtd|�S(s� Waits for reading to be available on a given socket.
    Returns True if the socket is readable, or False if the timeout expired.
    RR	(R1R(RR	((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/wait.pyR�scCst|dtd|�S(s� Waits for writing to be available on a given socket.
    Returns True if the socket is readable, or False if the timeout expired.
    RR	(R1R(RR	((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/wait.pyR�s(ii(Rt	functoolsRRtsysRRtImportErrort__all__t	ExceptionRtversion_infoR
R/RR"R+R-R0R1RR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/urllib3/util/wait.pyt<module>s&
			
	

?>