MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / _safe_read

Method _safe_read

Lib/httplib.py:637–663  ·  view source on GitHub ↗

Read the number of bytes requested, compensating for partial reads. Normally, we have a blocking socket, but a read() can be interrupted by a signal (resulting in a partial read). Note that we cannot distinguish between EOF and an interrupt when zero bytes have been

(self, amt)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

readMethod · 0.95
_read_chunkedMethod · 0.95

Calls 4

IncompleteReadClass · 0.85
readMethod · 0.45
joinMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected