[3.10] gh-102950: Implement PEP 706 – Filter for tarfile.extractall (GH-102953) by mcepl · Pull Request #104128 · python/cpython
It's related to a change made while backporting, going from
if mode is not None and os_helper.can_chmod():
to just
if mode is not None:
The can_chmod() determines whether chmod can set all the mode bits. According to the docs, it's only limited on Windows, so I'll hardcode that. (It's also limited on WASI, but in 3.10 tests we don't care.)
I can't push fixes to your repo so I opened #104327.