관리-도구
편집 파일: multi-socket_action-select.cpython-38.pyc
U (?�f1 � @ s� d dl Z d dlZd dlZd dlmZ ee j�dkr>e jd ZndZg g dddddd�Zdd� Z dd � Z d d� Ze�� Z e �eje � e �eje� e�� Ze�eje� e�ejd� e�ejd� e�ejd� e� Ze�eje� e �e� e �ejd �Zed d k�r�q6q�ed Zedk�r,ed��e e� q�e �e� e� � e � � ed dk�rfed��ed �r�e!dee�"� � � ne!ded ed f � dS )� N)�BytesIO� zhttps://www.python.org)�rlist�wlist�running�timeout�result�code�msgc C s� | t jks| t jkr$td �|� np| t jks8| t jkrHtd �|� nL| t jkr�|td krltd �|� |td kr�td �|� ntd| ��d S )Nr r zUnknown value of what: %s) �pycurlZPOLL_INZ POLL_INOUT�state�appendZPOLL_OUTZPOLL_REMOVE�remove� Exception)�what�sock_fd�multiZsocketp� r �m/opt/hc_python/lib64/python3.8/site-packages/../../../share/doc/pycurl/examples/multi-socket_action-select.py� socket_fnO s r c C sn t � td td ttd �ttd �B | �\}}}t|�dkrjt|�dkrjt|�dkrjt�tjd�\}}nT|D ]}t�|tj�\}}qn|D ]}t�|tj �\}}q�|D ]}t�|tj �\}}q�td d k �rb|td k�rbt�� \}}} |dks�t�t|�dk�rt| �dk�s0t|�dk�r,t| �dk�s0t�|�r>dtd<