

def _readConnectionLost(self, reason):
    self._reader = None
    p = interfaces.IHalfCloseableProtocol(self.protocol, None)
    if p:
        try:
            p.readConnectionLost()
        except:
            log.err()
            self.connectionLost(failure.Failure())
    else:
        reason.connectionLost(reason)

dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/internet/_posixstdio.py StandardIO._readConnectionLost/VarMisuse@74/93 `self`->`reason`