|
Server : Apache System : Linux iZ6xhqomji47p1Z 5.10.134-15.al8.x86_64 #1 SMP Thu Jul 20 00:44:04 CST 2023 x86_64 User : www ( 1000) PHP Version : 8.1.30 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv Directory : /lib64/python3.6/__pycache__/ |
3
\�K � @ s� d Z ddlmZmZ ddlmZmZ ddlZddlZddl Z d)Z
d*Zdd� Zedd d
ddg�Z
d
e
_ e jd+kr�de
j_ de
j_ de
j_ de
j_ G dd� de�ZG dd� ded�ZG dd� de�ZG dd� de�Zeed�r�G dd� de�Zeed ��rG d!d"� d"e�Zeed#��r"G d$d%� d%e�Zeed&��r>G d'd(� d(e�Zd(e� k�rPeZn:d"e� k�rbeZn(d%e� k�rteZnde� k�r�eZneZdS ),z|Selectors module.
This module allows high-level and efficient I/O multiplexing, built upon the
`select` module primitives.
� )�ABCMeta�abstractmethod)�
namedtuple�MappingN� c
C sf t | t�r| }n<yt| j� �}W n* tttfk
rJ tdj| ��d�Y nX |dk rbtdj|���|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�fd� r �!/usr/lib64/python3.6/selectors.py�_fileobj_to_fd s
r �SelectorKeyr r �events�dataz�SelectorKey(fileobj, fd, events, data)
Object used to associate a file object to its backing
file descriptor, selected event mask, and attached data.
� � zFile object registered.zUnderlying file descriptor.z3Events that must be waited for on this file object.zzOptional opaque data associated to this file object.
For example, this could be used to store a per-client session ID.c @ s0 e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
S )�_SelectorMappingz)Mapping of file objects to selector keys.c C s
|| _ d S )N)� _selector)�selfZselectorr r r �__init__>