8000 [3.7] gh-102950: Implement PEP 706 – Filter for tarfile.extractall (GH-102953) by encukou · Pull Request #104583 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.7] gh-102950: Implement PEP 706 – Filter for tarfile.extractall (GH-102953) #104583

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 13 commits into from
Closed
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
0