+
    Dfj/                        R t ^ RIt^ RIHtHt ^ RIHt ^ RIHtH	t	  ! R R]P                  4      t]R8X  d   ]	P                  ! ]P                  ^,          4      P                  4        ]P                   ! ]! ]P                  ^,          R4      4       ^ R	IHt ]! 4       t]P(                  ! ]4       ]P*                  ! 4        ]P,                  ! ]P.                  4       R# R# )
z
Main program for the child process run by
L{twisted.test.test_stdio.StandardInputOutputTests.test_loseConnection} to
test that ITransport.loseConnection() works for process transports.
N)protocolstdio)ConnectionDone)logreflectc                   0   a  ] tR t^t o ^ tR tR tRtV tR# )LoseConnChildc                :    V P                   P                  4        R # )N)	transportloseConnection)selfs   &B/usr/lib/python3/dist-packages/twisted/test/stdio_test_loseconn.pyconnectionMadeLoseConnChild.connectionMade   s    %%'    c                      VP                  \        4       \        P                  ! 4        R#   \         d"    \        P                  ! RR4       ^T n         LBi ; i  \        P                  ! 4        i ; i)z
Check that C{reason} is a L{Failure} wrapping a L{ConnectionDone}
instance and stop the reactor.  If C{reason} is wrong for some reason,
log something about that in C{self.errorLogFile} and make sure the
process exits with a non-zero status.
Nz,Problem with reason passed to connectionLost)trapr   BaseExceptionr   errexitCodereactorstop)r   reasons   &&r   connectionLostLoseConnChild.connectionLost   sV    	"N+
 LLN	 ! "LM !" LLNs!   / )AA AA A5)r   N)	__name__
__module____qualname____firstlineno__r   r   r   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s     H( r   r   __main__wb)r   )__doc__systwisted.internetr   r   twisted.internet.errorr   twisted.pythonr   r   Protocolr   r   namedAnyargvinstallstartLoggingopenr   protocolLoseConnChild
StandardIOrunexitr    r   r   <module>r4      s   
  , 1 'H%% . zSXXa[!))+T#((1+t,-()O	*+KKMHH"++, r   