Visitar URL original
[3.7] gh-102950: Implement PEP 706 – Filter for tarfile.extractall (GH-102953) by encukou · Pull Request #104583 · python/cpython · GitHub
Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix syntax error
I pushed the wrong commit O.o
  • Loading branch information
encukou committed May 25, 2023
commit 64d1a92126b210540b1e793799161a98de7cd91f
2 changes: 1 addition & 1 deletion Lib/test/test_tarfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3043,7 +3043,7 @@ def check_context(self, tar, filter):
self.raised_exception = None
try:
self.expected_paths = set(self.outerdir.glob('**/*'))
except OSError as err
except OSError as err:
if getattr(err, 'winerror', None) == 123:
# 123 is Windows error ERROR_INVALID_NAME
# glob() fails this way when symlink targets are too long
Expand Down