Skip to content

[3.10] gh-151987: Pass filter_function to TarFile._extract_one() during .extract() (GH-151988)#152613

Open
miss-islington wants to merge 2 commits into
python:3.10from
miss-islington:backport-7ccdbab-3.10
Open

[3.10] gh-151987: Pass filter_function to TarFile._extract_one() during .extract() (GH-151988)#152613
miss-islington wants to merge 2 commits into
python:3.10from
miss-islington:backport-7ccdbab-3.10

Conversation

@miss-islington

@miss-islington miss-islington commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

(cherry picked from commit 7ccdbab)

Co-authored-by: Petr Viktorin encukou@gmail.com
Co-authored-by: Seth Michael Larson seth@python.org

…g .extract() (pythonGH-151988)

(cherry picked from commit 7ccdbab)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Seth Michael Larson <seth@python.org>
@pablogsal

Copy link
Copy Markdown
Member

@encukou this is breaking tests in 3.10

3.11+ has more granular platform support, mostly for WASI.
Use the 3.10 idioms instead:

- @symlink_test is a no-op on non-WASI platforms
- can_chmod is approximated by "not win32" elsewhere in test_tarfile
@encukou

encukou commented Jul 8, 2026

Copy link
Copy Markdown
Member

Thanks for the catch!
The MacOS failure is unrelated and common to recent 3.11 & 3.10 PRs. See #100373 for a discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants