MCPcopy Index your code
hub / github.com/RustPython/RustPython / __init__

Method __init__

Lib/multiprocessing/managers.py:1295–1303  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

1293 ['track_segment', 'release_segment', 'list_segments']
1294
1295 def __init__(self, *args, **kwargs):
1296 Server.__init__(self, *args, **kwargs)
1297 address = self.address
1298 # The address of Linux abstract namespaces can be bytes
1299 if isinstance(address, bytes):
1300 address = os.fsdecode(address)
1301 self.shared_memory_context = \
1302 _SharedMemoryTracker(f"shm_{address}_{getpid()}")
1303 util.debug(f"SharedMemoryServer started by pid {getpid()}")
1304
1305 def create(self, c, typeid, /, *args, **kwargs):
1306 """Create a new distributed-shared object (not backed by a shared

Callers

nothing calls this directly

Calls 6

getpidFunction · 0.90
isinstanceFunction · 0.85
fsdecodeMethod · 0.80
__init__Method · 0.45
debugMethod · 0.45

Tested by

no test coverage detected