While fixing a merge conflict in https://github.com/python/cpython/pull/108718 I've noticed that I've missed the same problem in `os.DirEntry.is_symlink`. I will send a new PR since the original one was already merged Refs https://github.com/python/cpython/issues/108717 <!-- gh-linked-prs --> ### Linked PRs * gh-108986 <!-- /gh-linked-prs -->