Skip to content

Commit ed827d5

Browse files
authored
gh-95913: Edit zipfile Whatsnew section & add new APIs (#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
1 parent 251b8cc commit ed827d5

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
@@ -1128,13 +1128,25 @@ warnings
11281128
providing a more concise way to locally ignore warnings or convert them to errors.
11291129
(Contributed by Zac Hatfield-Dodds in :issue:`47074`.)
11301130

1131+
1132+
.. _whatsnew311-zipfile:
1133+
11311134
zipfile
11321135
-------
11331136

1134-
* Added support for specifying member name encoding for reading
1135-
metadata in the zipfile's directory and file headers.
1137+
* Added support for specifying member name encoding for reading metadata
1138+
in a :class:`~zipfile.ZipFile`'s directory and file headers.
11361139
(Contributed by Stephen J. Turnbull and Serhiy Storchaka in :issue:`28080`.)
11371140

1141+
* Added :meth:`ZipFile.mkdir() <zipfile.ZipFile.mkdir>`
1142+
for creating new directories inside ZIP archives.
1143+
(Contributed by Sam Ezeh in :gh:`49083`.)
1144+
1145+
* Added :attr:`~zipfile.Path.stem`, :attr:`~zipfile.Path.suffix`
1146+
and :attr:`~zipfile.Path.suffixes` to :class:`zipfile.Path`.
1147+
(Contributed by Miguel Brito in :gh:`88261`.)
1148+
1149+
11381150
fcntl
11391151
-----
11401152

0 commit comments

Comments
 (0)