]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-84353: Preserve non-UTF-8 filenames when appending to ZipFile (GH-150091)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 27 May 2026 17:56:38 +0000 (20:56 +0300)
committerGitHub <noreply@github.com>
Wed, 27 May 2026 17:56:38 +0000 (17:56 +0000)
commit24c6bbc92b6dd0ce9b7ff799049498299f70f97d
treec21f58da2571bfe473fb39c487017323c5d931c0
parentd8ff4f8e56217133be6e22592aa60a1fab331d8e
gh-84353: Preserve non-UTF-8 filenames when appending to ZipFile (GH-150091)

Preserve non-UTF-8 filenames when appending to a ZipFile.

---------

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Lib/test/test_zipfile/test_core.py
Lib/zipfile/__init__.py
Misc/NEWS.d/next/Library/2026-05-19-19-00-49.gh-issue-84353.ZU5zaQ.rst [new file with mode: 0644]