]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-133890: Handle UnicodeEncodeError in tarfile (GH-134147) (GH-134195)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 20 May 2025 10:13:40 +0000 (12:13 +0200)
committerGitHub <noreply@github.com>
Tue, 20 May 2025 10:13:40 +0000 (10:13 +0000)
commitc23bdc2eced311671d77c5ac2cb450fe4eb1b08e
tree74c01d699fc6931b4eb476b0a9dc219b7a9704ed
parent9c73a4de0c6f593cfa53afdd21d4aa8da1b15d46
[3.14] gh-133890: Handle UnicodeEncodeError in tarfile (GH-134147) (GH-134195)

UnicodeEncodeError is now handled the same way as OSError during
TarFile member extraction.
(cherry picked from commit 9983c7d4416cac8deb2fded1ec9c7daf786c3a02)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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]