(self, *args, **kwargs)
| 1345 | _Server = SharedMemoryServer |
| 1346 | |
| 1347 | def __init__(self, *args, **kwargs): |
| 1348 | if os.name == "posix": |
| 1349 | # bpo-36867: Ensure the resource_tracker is running before |
| 1350 | # launching the manager process, so that concurrent |
| 1351 | # shared_memory manipulation both in the manager and in the |
| 1352 | # current process does not create two resource_tracker |
| 1353 | # processes. |
| 1354 | from . import resource_tracker |
| 1355 | resource_tracker.ensure_running() |
| 1356 | BaseManager.__init__(self, *args, **kwargs) |
| 1357 | util.debug(f"{self.__class__.__name__} created by pid {getpid()}") |
| 1358 | |
| 1359 | def __del__(self): |
| 1360 | util.debug(f"{self.__class__.__name__}.__del__ by pid {getpid()}") |
nothing calls this directly
no test coverage detected