?
| Path : /lib64/python3.8/asyncio/__pycache__/ |
| Current File : //lib64/python3.8/asyncio/__pycache__/selector_events.cpython-38.opt-1.pyc |
U
e5dT @ s. d Z dZddlZddlZddlZddlZddlZddlZddlZzddl Z W n e
k
rd dZ Y nX ddlmZ ddlm
Z
ddlmZ ddlmZ dd lmZ dd
lmZ ddlmZ ddlmZ dd
lmZ dd Zdd ZG dd dejZG dd dejejZG dd deZG dd deZdS )zEvent loop using a selector and related classes.
A selector is a "notify-when-ready" multiplexer. For a subclass which
also includes support for signal handling, see the unix_events sub-module.
)BaseSelectorEventLoop N )base_events) constants)events)futures) protocols)sslproto)
transports)trsock)loggerc C s8 z| |}W n tk
r$ Y dS X t|j|@ S d S NF)get_keyKeyErrorboolr )selectorfdZeventkey r //usr/lib64/python3.8/asyncio/selector_events.py_test_selector_event s
r c C s t d k rt| t jrtdd S )Nz"Socket cannot be of type SSLSocket)ssl
isinstanceZ SSLSocket TypeError)sockr r r _check_ssl_socket+ s r c s e Zd ZdZdS fdd ZdTdddddZdUddddejd d
dZdVdd
Z fddZ
dd Zdd Zdd Z
dd Zdd ZdddejfddZdddejfddZddejfdd Zd!d"