(cls)
| 272 | _instances_under_construction: ClassVar[set[pathlib.Path]] = set() |
| 273 | |
| 274 | def __init_subclass__(cls) -> None: |
| 275 | super().__init_subclass__() |
| 276 | cls._instances = WeakValueDictionary() |
| 277 | cls._instances_lock = threading.RLock() |
| 278 | cls._instances_pid = _GETPID() |
| 279 | cls._instances_under_construction = set() |
| 280 | _register_fork_class(cls) |
| 281 | |
| 282 | @classmethod |
| 283 | def get_lock( |
nothing calls this directly
no test coverage detected