Skip to content

Commit 425bec3

Browse files
miss-islingtonCAM-Gerlach
authored andcommitted
gh-95913: Edit zipfile Whatsnew section & add new APIs (GH-98314)
* Link ZipFile in What's New entry discussing it * Add entry for new ZipFile.mkdir method * Add entry for new zipfile.Path.stem/suffix/suffixes methods * Add missing line breaks between zipfile bullet list items (cherry picked from commit ed827d5) Co-authored-by: C.A.M. Gerlach <[email protected]>
1 parent b0e3eaa commit 425bec3

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

Doc/whatsnew/3.11.rst

+14-2
Original file line numberDiff line numberDiff line change
@@ -1110,13 +1110,25 @@ warnings
11101110
providing a more concise way to locally ignore warnings or convert them to errors.
11111111
(Contributed by Zac Hatfield-Dodds in :issue:`47074`.)
11121112

1113+
1114+
.. _whatsnew311-zipfile:
1115+
11131116
zipfile
11141117
-------
11151118

1116-
* Added support for specifying member name encoding for reading
1117-
metadata in the zipfile's directory and file headers.
1119+
* Added support for specifying member name encoding for reading metadata
1120+
in a :class:`~zipfile.ZipFile`'s directory and file headers.
11181121
(Contributed by Stephen J. Turnbull and Serhiy Storchaka in :issue:`28080`.)
11191122

1123+
* Added :meth:`ZipFile.mkdir() <zipfile.ZipFile.mkdir>`
1124+
for creating new directories inside ZIP archives.
1125+
(Contributed by Sam Ezeh in :gh:`49083`.)
1126+
1127+
* Added :attr:`~zipfile.Path.stem`, :attr:`~zipfile.Path.suffix`
1128+
and :attr:`~zipfile.Path.suffixes` to :class:`zipfile.Path`.
1129+
(Contributed by Miguel Brito in :gh:`88261`.)
1130+
1131+
11201132
fcntl
11211133
-----
11221134

0 commit comments

Comments
 (0)