NineSec Team Shell
Server IP : 184.107.3.203  /  Your IP : 216.73.216.51
Web Server : Apache
System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64
User : adminteladeoro ( 1015)
PHP Version : 8.2.28
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/lib/python3.6/site-packages/pip/_vendor/urllib3/util/__pycache__/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/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



NineSec Team - 2022