(self, *args, **kwargs)
| 1386 | _Server = SharedMemoryServer |
| 1387 | |
| 1388 | def __init__(self, *args, **kwargs): |
| 1389 | if os.name == "posix": |
| 1390 | # bpo-36867: Ensure the resource_tracker is running before |
| 1391 | # launching the manager process, so that concurrent |
| 1392 | # shared_memory manipulation both in the manager and in the |
| 1393 | # current process does not create two resource_tracker |
| 1394 | # processes. |
| 1395 | from . import resource_tracker |
| 1396 | resource_tracker.ensure_running() |
| 1397 | BaseManager.__init__(self, *args, **kwargs) |
| 1398 | util.debug(f"{self.__class__.__name__} created by pid {getpid()}") |
| 1399 | |
| 1400 | def __del__(self): |
| 1401 | util.debug(f"{self.__class__.__name__}.__del__ by pid {getpid()}") |
nothing calls this directly
no test coverage detected