◐ Shell
reader mode source ↗
Skip to content

bpo-20907: shutil._unpack_zipfile add warnings for skipped files#29910

Open
akulakov wants to merge 8 commits into
python:mainfrom
akulakov:20907-unpack_zipfile-add-warnings-for-skipped-files
Open

bpo-20907: shutil._unpack_zipfile add warnings for skipped files#29910
akulakov wants to merge 8 commits into
python:mainfrom
akulakov:20907-unpack_zipfile-add-warnings-for-skipped-files

Conversation

@akulakov

@akulakov akulakov commented Dec 4, 2021

Copy link
Copy Markdown
Contributor

Note that test zip only has a '..' path component for testing, and no absolute path. My zip archiver (as well as Python zip archiver) do not create absolute paths. It seems like all (?) modern zip archivers don't create absolute paths. If someone knows of an easy way to add such a path to the test zip file, I can update the unit test for that.

https://bugs.python.org/issue20907

@akulakov

Copy link
Copy Markdown
Contributor Author

I've updated to use logging.warning, @merwok @ambv please take a look if you have time..

@MaxwellDupre MaxwellDupre left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

Ran 164 tests in 2.291s
OK (skipped=24)
Looks ok.

@serhiy-storchaka

Copy link
Copy Markdown
Member

See also #111824 which fixes the original issue in a different way.

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale label Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants