B
Lj$ @ s" d Z dZddlZddlZddlZddlZddlZddlZddlZyddl Z W n e
k
rd dZ Y nX ddlmZ ddlm
Z
ddlmZ ddlmZ dd lmZ dd
lmZ ddlmZ ddlmZ d
d 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)loggerc C s6 y| |}W n tk
r" dS X t|j|@ S d S )NF)get_keyKeyErrorboolr )selectorfdZeventkey r </opt/alt/python37/lib64/python3.7/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 ZdZdQ fdd ZdRdddddZdSddddejd d
dZdTdd
Z fddZ
dd Zdd Zdd Z
dd Zdd ZdddejfddZdddejfddZddejfdd Zd!d"