관리-도구
편집 파일: selector_events.cpython-35.opt-2.pyc
���]�� � @ s� d g Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z y d d l Z Wn e k r{ d Z Yn Xd d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d � Z e e d � rFd d � Z n d d � Z Gd d � d e j � Z Gd d � d e j e j � Z Gd d � d e � Z Gd d � d e � Z Gd d � d e � Z d S)�BaseSelectorEventLoop� N� )�base_events)�compat)� constants)�events)�futures)� selectors)� transports)�sslproto)� coroutine)�loggerc C sA y | j | � } Wn t k r+ d SYn Xt | j | @� Sd S)NF)�get_key�KeyError�boolr )�selector�fd�event�key� r �4/opt/alt/python35/lib64/python3.5/selector_events.py�_test_selector_event s r �TCP_NODELAYc C s\ | j t j t j h k rX | j t j k rX | j t j k rX | j t j t j d � d S)Nr ) �family�socket�AF_INET�AF_INET6�type�SOCK_STREAM�proto�IPPROTO_TCP� setsockoptr )�sockr r r �_set_nodelay, s r# c C s d S)Nr )r"