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_hostpeer.cpython-310.pyc
o

�bA�@s~dZddlZddlmZmZddlmZGdd�dej�Ze	dkr=e�
ejd���dd	lm
Z
e�e��e
��dSdS)
z�
Main program for the child process run by
L{twisted.test.test_stdio.StandardInputOutputTests.test_hostAndPeer} to test
that ITransport.getHost() and ITransport.getPeer() work for process transports.
�N)�protocol�stdio)�reflectc@seZdZdd�Zdd�ZdS)�
HostPeerChildcCsD|j�d�t|j����d�t|j����d�g��|j��dS)N�
�ascii)�	transport�write�join�str�getHost�encode�getPeer�loseConnection)�self�r�B/usr/lib/python3/dist-packages/twisted/test/stdio_test_hostpeer.py�connectionMades���zHostPeerChild.connectionMadecCst��dS)N)�reactor�stop)r�reasonrrr�connectionLostszHostPeerChild.connectionLostN)�__name__�
__module__�__qualname__rrrrrrrsr�__main__�)r)�__doc__�sys�twisted.internetrr�twisted.pythonr�Protocolrr�namedAny�argv�installr�
StandardIO�runrrrr�<module>s�

https://t.me/RX1948 - 2025