Skip to content

Commit 89dea0b

Browse files
committed
gh-123299: Copyedit What's New in 3.14
1 parent 48d0d0d commit 89dea0b

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

Doc/library/zipfile.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,9 @@ ZipFile Objects
526526
a closed ZipFile will raise a :exc:`ValueError`. Previously,
527527
a :exc:`RuntimeError` was raised.
528528

529+
.. versionchanged:: 3.14
530+
Now respects :envvar:`SOURCE_DATE_EPOCH` environment variable.
531+
529532
.. method:: ZipFile.mkdir(zinfo_or_directory, mode=511)
530533

531534
Create a directory inside the archive. If *zinfo_or_directory* is a string,

Doc/whatsnew/3.14.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -943,9 +943,8 @@ For further information on how to build Python, see
943943
Clang/LLVM 19, which causes the normal interpreter to be slower. We were unaware of this bug,
944944
resulting in inaccurate results. We sincerely apologize for
945945
communicating results that were only accurate for LLVM v19.1.x and v20.1.0. In the meantime,
946-
the bug has been fixed in LLVM v20.1.1 and for the upcoming v21.1, but it will remain
947-
unfixed for LLVM v19.1.x and v20.1.0. Thus
948-
any benchmarks with those versions of LLVM may produce inaccurate numbers.
946+
the bug has been fixed in LLVM v20.1.1 and v21.1, but it will remain unfixed for LLVM v19.1.x
947+
and v20.1.0. Thus any benchmarks with those versions of LLVM may produce inaccurate numbers.
949948
(Thanks to Nelson Elhage for bringing this to light.)
950949

951950
(Contributed by Ken Jin in :gh:`128563`, with ideas on how to implement this
@@ -2231,9 +2230,9 @@ zipfile
22312230
as used by :func:`ZipFile.writestr <zipfile.ZipFile.writestr>`.
22322231
(Contributed by Bénédikt Tran in :gh:`123424`.)
22332232

2234-
* :meth:`zipfile.ZipFile.writestr` now respects ``SOURCE_DATE_EPOCH`` that
2235-
distributions can set centrally and have build tools consume this in order
2236-
to produce reproducible output.
2233+
* :meth:`zipfile.ZipFile.writestr` now respects :envvar:`SOURCE_DATE_EPOCH`
2234+
environment variable that distributions can set centrally and have build
2235+
tools consume this in order to produce reproducible output.
22372236
(Contributed by Jiahao Li in :gh:`91279`.)
22382237

22392238

0 commit comments

Comments
 (0)