MCPcopy Index your code
hub / github.com/python/cpython / _bad_message_length

Method _bad_message_length

Lib/multiprocessing/connection.py:150–155  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

148 raise OSError("connection is read-only")
149
150 def _bad_message_length(self):
151 if self._writable:
152 self._readable = False
153 else:
154 self.close()
155 raise OSError("bad message length")
156
157 @property
158 def closed(self):

Callers 2

recv_bytesMethod · 0.95
_get_more_dataMethod · 0.80

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected