관리-도구
편집 파일: wait.pyc
� �Rec @ s d d l Z d d l m Z d d l Z d d l Z y d d l m Z Wn! e k rk d d l m Z n Xd d d g Z d e f d � � YZ e j d k r� d � Z n d � Z e e d d � Z e e d d � Z d � Z d � Z d � a d d � Z d d � Z d S( i����N( t partial( t monotonic( t timet NoWayToWaitForSocketErrort wait_for_readt wait_for_writec B s e Z RS( ( 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.pyR s i i c C s | | � S( N( ( t fnt timeout( ( 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* s c C s� | d k r t d � } n t � | } x� t r� y | | � SWq+ t t j f k r� } | j d t j k rv � q� | t � } | d k r� d } n | t d � k r+ d } q+ q+ q+ Xq+ Wd S( Nt infi ( t Nonet floatR t Truet OSErrort selectt errort argst errnot EINTR( R R t deadlinet e( ( 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 0 s c C s� | r | r t d � � n g } g } | r? | j | � n | rU | j | � n t t j | | | � } t | | � \ } } } t | p� | p� | � S( Ns2 must specify at least one of read=True, write=True( t RuntimeErrort appendR R R t bool( t sockt readt writeR t rcheckt wcheckR t rreadyt wreadyt xready( ( 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 select_wait_for_socketG s c s� | r | r t d � � n d } | r9 | t j O} n | rO | t j O} n t j � � � j | | � � f d � } t t | | � � S( Ns2 must specify at least one of read=True, write=Truei c s&