Skip to content

Allow tarfile.extractfile() to handle symlinks, even without data_filter support #13537

@sethmlarson

Description

@sethmlarson

Description

Currently _untar_without_filter implements its own handling of symlink entries. Instead we can allow tarfile.extractfile() to handle symlinks.

Expected behavior

No response

pip version

25.3

Python version

3.13.6

OS

N/A

How to Reproduce

N/A

Output

No response

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    S: needs triageIssues/PRs that need to be triagedtype: bugA confirmed bug or unintended behavior

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions