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

Function rebuild_pipe_connection

Lib/multiprocessing/connection.py:1224–1226  ·  view source on GitHub ↗
(dh, readable, writable)

Source from the content-addressed store, hash-verified

1222 dh = reduction.DupHandle(conn.fileno(), access)
1223 return rebuild_pipe_connection, (dh, conn.readable, conn.writable)
1224 def rebuild_pipe_connection(dh, readable, writable):
1225 handle = dh.detach()
1226 return PipeConnection(handle, readable, writable)
1227 reduction.register(PipeConnection, reduce_pipe_connection)
1228
1229else:

Callers

nothing calls this directly

Calls 2

PipeConnectionClass · 0.85
detachMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…