def statusReceived(self, status):
        """
        Parse the status line into its components and create a response object
        to keep track of this response's state.
        """
        parts = status.split(' ', 2)
        if len(parts) != 3:
            raise ParseError("wrong number of parts", status)

        try:
            statusCode = int(parts[1])
        except __HOLE__:
            raise ParseError("non-integer status code", status)

        self.response = Response(
            self.parseVersion(parts[0]),
            statusCode,
            parts[2],
            self.headers,
            self.transport)
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/web/_newclient.py/HTTPClientParser.statusReceived