Uname : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
Soft : Apache
Ip : 203.161.60.200
Port : 443
~
/
opt
/
alt
/
python311
/
lib64
/
python3.11
/
__pycache__
[ HOME ]
Exec
Submit
selectors.cpython-311.pyc
� �,dL � �� � d Z ddlmZmZ ddlmZ ddlmZ ddlZddl Z ddl Z dZdZd� Z ed g d �� � Zde_ dej _ d ej _ dej _ dej _ G d� de� � Z G d� de�� � Z G d� de� � Z G d� de� � Z G d� de� � Z ee d� � r G d� de� � Z ee d� � r G d� d e� � Z ee d!� � r G d"� d#e� � Z ee d$� � r G d%� d&e� � Zd'� Z ed$� � reZdS ed� � reZdS ed!� � reZdS ed� � reZdS eZdS )(z|Selectors module. This module allows high-level and efficient I/O multiplexing, built upon the `select` module primitives. � )�ABCMeta�abstractmethod)� namedtuple)�MappingN� � c �H � t | t � � r| }na t | � � � � � }n># t t t f$ r$ t d� | � � � � d�w xY w|dk r"t d� |� � � � �|S )z�Return a file descriptor from a file object. Parameters: fileobj -- file object or file descriptor Returns: corresponding file descriptor Raises: ValueError if the object is invalid zInvalid file object: {!r}Nr zInvalid file descriptor: {})� isinstance�int�fileno�AttributeError� TypeError� ValueError�format)�fileobj�fds �0/opt/alt/python311/lib64/python3.11/selectors.py�_fileobj_to_fdr s� � � �'�3��� ?� ��� ?��W�^�^�%�%�&�&�B�B��� �:�6� ?� ?� ?�� $�$*�F�7�O�O�5� 5�:>� ?� ?���� �A�v�v��6�=�=�b�A�A�B�B�B� �Is �!<