(exception)
| 53 | |
| 54 | |
| 55 | def _ignore_error(exception): |
| 56 | return ( |
| 57 | getattr(exception, "errno", None) in _IGNORED_ERRORS |
| 58 | or getattr(exception, "winerror", None) in _IGNORED_WINERRORS |
| 59 | ) |
| 60 | |
| 61 | |
| 62 | def get_lock_path(path: _AnyPurePath) -> _AnyPurePath: |