]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-84353: Preserve non-UTF-8 filenames when appending to ZipFile (GH-150091...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 27 May 2026 21:47:03 +0000 (23:47 +0200)
committerGitHub <noreply@github.com>
Wed, 27 May 2026 21:47:03 +0000 (21:47 +0000)
commitf216c8963139bf858415e2d09cf938d3e29558df
treed7e0f90e645d8cf3da9870ce7b0e9b429858d689
parente565d12acb8fd14ad4432c25daf79882794cca60
[3.15] gh-84353: Preserve non-UTF-8 filenames when appending to ZipFile (GH-150091) (GH-150527)

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

---------
(cherry picked from commit 24c6bbc92b6dd0ce9b7ff799049498299f70f97d)

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