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

Method __init__

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

Source from the content-addressed store, hash-verified

1334 ['track_segment', 'release_segment', 'list_segments']
1335
1336 def __init__(self, *args, **kwargs):
1337 Server.__init__(self, *args, **kwargs)
1338 address = self.address
1339 # The address of Linux abstract namespaces can be bytes
1340 if isinstance(address, bytes):
1341 address = os.fsdecode(address)
1342 self.shared_memory_context = \
1343 _SharedMemoryTracker(f"shm_{address}_{getpid()}")
1344 util.debug(f"SharedMemoryServer started by pid {getpid()}")
1345
1346 def create(self, c, typeid, /, *args, **kwargs):
1347 """Create a new distributed-shared object (not backed by a shared

Callers

nothing calls this directly

Calls 3

__init__Method · 0.45
debugMethod · 0.45

Tested by

no test coverage detected