Skip to content

Commit 765776a

Browse files
committed
Do not systematically normalize path in extractall
1 parent c48bda8 commit 765776a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Lib/tarfile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2437,7 +2437,6 @@ def extractall(self, path=".", members=None, *, numeric_owner=False,
24372437
'excluded by filter')
24382438
continue
24392439
dirpath = os.path.join(path, tarinfo.name)
2440-
dirpath = os.path.normpath(dirpath)
24412440
try:
24422441
lstat = os.lstat(dirpath)
24432442
except FileNotFoundError:

0 commit comments

Comments
 (0)