o 0i @ s$ d Z dZddlZddlZddlZddlZddlZddlZddlZzddl Z W n e y1 dZ Y nw ddlmZ ddlm Z ddlmZ ddlmZ dd lmZ dd lmZ ddlmZ ddlmZ dd lmZ dd 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 s2 z| |}W n ty Y dS w t|j|@ S NF)get_keyKeyErrorboolr )selectorfdZeventkey r >/opt/alt/python310/lib64/python3.10/asyncio/selector_events.py_test_selector_event s r c s e Zd ZdZdS fdd ZdSdddddZ dSddddejd d dZ dTdd Z fddZ dd Zdd Zdd Z dd Zdd ZdddejfddZdddejfddZddejfdd Zd!d" Zd#d$ Zd%d&