]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-133890: Handle UnicodeEncodeError in tarfile (GH-134147) (GH-134196)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 19 May 2025 10:37:36 +0000 (13:37 +0300)
committerGitHub <noreply@github.com>
Mon, 19 May 2025 10:37:36 +0000 (10:37 +0000)
commit06a8c0613ee80448ce5416ac687a0f841e1fc5db
tree352dd0ff98504d47ee7167f91feeb65b0cd3cd05
parentea9c9623f0db4fe8bdf76f5a814db9e6230ebea3
[3.13] gh-133890: Handle UnicodeEncodeError in tarfile (GH-134147) (GH-134196)

UnicodeEncodeError is now handled the same way as OSError during
TarFile member extraction.
(cherry picked from commit 9983c7d4416cac8deb2fded1ec9c7daf786c3a02)
Lib/tarfile.py
Lib/test/test_tarfile.py
Misc/NEWS.d/next/Library/2025-05-17-18-08-35.gh-issue-133890.onn9_X.rst [new file with mode: 0644]