summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-03-22 09:52:55 (GMT)
committerGitHub <noreply@github.com>2022-03-22 09:52:55 (GMT)
commita25a985535ccbb7df8caddc0017550ff4eae5855 (patch)
tree44d9b90b89baba06da89b3f044b69aa40edd03c7 /Doc/whatsnew
parentc6cd3cc93c40363ce704d34a70e6fb73ea1d97a3 (diff)
downloadcpython-a25a985535ccbb7df8caddc0017550ff4eae5855.zip
cpython-a25a985535ccbb7df8caddc0017550ff4eae5855.tar.gz
cpython-a25a985535ccbb7df8caddc0017550ff4eae5855.tar.bz2
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>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.11.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst
index 96db3a9..938a573 100644
--- a/Doc/whatsnew/3.11.rst
+++ b/Doc/whatsnew/3.11.rst
@@ -432,6 +432,12 @@ venv
Third party code that also creates new virtual environments should do the same.
(Contributed by Miro HronĨok in :issue:`45413`.)
+zipfile
+-------
+
+* Added support for specifying member name encoding for reading
+ metadata in the zipfile's directory and file headers.
+ (Contributed by Stephen J. Turnbull and Serhiy Storchaka in :issue:`28080`.)
fcntl
-----