This code shows that `SharedMemory.buf` can be `None`: ```python from multiprocessing.shared_memory import SharedMemory shm = SharedMemory(name="foo", create=True, size=1) shm.close() assert shm.buf is None ``` Yet the type hint says it cannot be `None`: https://github.com/python/typeshed/blob/703f7d074ccd3776f20c77eaeb4563a197948ed9/stdlib/multiprocessing/shared_memory.pyi#L17-L18 This leads `mypy` v1.18.1 to emit the new (optional) > Non-overlapping identity check (left operand type: "memoryview[int]", right operand type: "None") > See https://mypy.rtfd.io/en/stable/_refs.html#code-comparison-overlap for more infoMypy