| Server IP : 46.62.235.243 / Your IP : 216.73.216.163 Web Server : Apache/2.4.58 (Ubuntu) System : Linux Linkabili3Dicembre 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/twisted/internet/test/__pycache__/ |
Upload File : |
�
oj� � � � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl m
Z
ddlmZ G d � d
� Z ee d� G d� d
e
� � Zy# e
$ r dZY �,w xY w)z-
Tests for L{twisted.internet.epollreactor}.
� )�skipIf��ConnectionDone)�_ContinuousPolling)�Clock)�TestCase)�epollreactorNc �. � e Zd ZdZd� Zd� Zd� Zd� Zd� Zy)�
DescriptorzF
Records reads and writes, as if it were a C{FileDescriptor}.
c � � g | _ y �N)�events��selfs �I/usr/lib/python3/dist-packages/twisted/internet/test/test_epollreactor.py�__init__zDescriptor.__init__ s � ���� c � � y)N� � r s r �filenozDescriptor.fileno s � �r c �: � | j j d� y )N�read�r �appendr s r �doReadzDescriptor.doRead s � ������6�"r c �: � | j j d� y )N�writer r s r �doWritezDescriptor.doWrite# s � ������7�#r c �d � |j t � | j j d� y )N�lost)�trapr r r )r �reasons r �connectionLostzDescriptor.connectionLost&