]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-28080: Add support for the fallback encoding in ZIP files (GH-32007)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 22 Mar 2022 09:52:55 +0000 (11:52 +0200)
committerGitHub <noreply@github.com>
Tue, 22 Mar 2022 09:52:55 +0000 (11:52 +0200)
commita25a985535ccbb7df8caddc0017550ff4eae5855
tree44d9b90b89baba06da89b3f044b69aa40edd03c7
parentc6cd3cc93c40363ce704d34a70e6fb73ea1d97a3
bpo-28080: Add support for the fallback encoding in ZIP files (GH-32007)

* Add the metadata_encoding parameter in the zipfile.ZipFile constructor.
* Add the --metadata-encoding option in the zipfile CLI.

Co-authored-by: Stephen J. Turnbull <stephen@xemacs.org>
Doc/library/zipfile.rst
Doc/whatsnew/3.11.rst
Lib/test/test_zipfile.py
Lib/zipfile.py
Misc/NEWS.d/next/Library/2022-03-20-15-54-41.bpo-28080.kn35Vk.rst [new file with mode: 0644]