Skip to content

Commit 4f91012

Browse files
StanFromIrelandambv
authored andcommitted
Revert "Soft deprecate zlib.ZLIB_RUNTIME_VERSION"
This reverts commit d489212.
1 parent 124df00 commit 4f91012

4 files changed

Lines changed: 5 additions & 22 deletions

File tree

‎Doc/deprecations/soft-deprecations.rst‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,3 @@ There are no plans to remove :term:`soft deprecated` APIs.
1919

2020
(Contributed by Gregory P. Smith in :gh:`86519` and
2121
Hugo van Kemenade in :gh:`148100`.)
22-
23-
* :const:`zlib.ZLIB_RUNTIME_VERSION` is now :term:`soft deprecated`
24-
in favor of :const:`zlib.zlib_version`.
25-
(Contributed by Stan Ulbrych in :gh:`117404`.)

‎Doc/library/zlib.rst‎

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -482,21 +482,16 @@ the following constants:
482482
is available as :const:`zlib_version`.
483483

484484

485-
.. data:: zlib_version
486-
487-
The version string of the zlib library actually loaded by the interpreter.
488-
489-
.. versionadded:: next
490-
491-
492485
.. data:: ZLIB_RUNTIME_VERSION
486+
zlib_version
493487

494-
An alias of :const:`zlib_version`.
488+
The version string of the zlib library actually loaded by the interpreter.
495489

496490
.. versionadded:: 3.3
491+
The :const:`!ZLIB_RUNTIME_VERSION` constant.
497492

498-
.. soft-deprecated:: next
499-
Use :const:`zlib_version` instead.
493+
.. versionadded:: next
494+
The :const:`!zlib_version` alias.
500495

501496

502497
.. data:: ZLIB_VERSION_INFO

‎Doc/whatsnew/3.16.rst‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,12 +1081,6 @@ New deprecations
10811081
open them one by one instead.
10821082
(Contributed by Serhiy Storchaka in :gh:`152638`.)
10831083

1084-
* :mod:`zlib`:
1085-
1086-
* :const:`zlib.ZLIB_RUNTIME_VERSION` is now :term:`soft deprecated`
1087-
in favor of :const:`zlib.zlib_version`.
1088-
(Contributed by Stan Ulbrych in :gh:`117404`.)
1089-
10901084
.. Add deprecations above alphabetically, not here at the end.
10911085
10921086
.. include:: ../deprecations/pending-removal-in-3.17.rst

‎Misc/NEWS.d/next/Library/2026-09-19-18-38-10.gh-issue-117404.sDzL9k.rst‎

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)