Skip to content

Commit b19c9da

Browse files
authored
gh-115119: Defer removal of bundled libmpdec to 3.16 (#133997)
Rename libmpdecimal -> libmpdec see https://www.bytereef.org/mpdecimal/doc/libmpdec/index.html
1 parent b330897 commit b19c9da

File tree

7 files changed

+17
-8
lines changed

7 files changed

+17
-8
lines changed

Doc/deprecations/c-api-pending-removal-in-3.15.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
Pending removal in Python 3.15
22
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33

4-
* The bundled copy of ``libmpdecimal``.
54
* The :c:func:`!PyImport_ImportModuleNoBlock`:
65
Use :c:func:`PyImport_ImportModule` instead.
76
* :c:func:`PyWeakref_GetObject` and :c:func:`PyWeakref_GET_OBJECT`:
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Pending removal in Python 3.16
2+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3+
4+
* The bundled copy of ``libmpdec``.

Doc/whatsnew/3.12.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2233,6 +2233,8 @@ Deprecated
22332233

22342234
.. include:: ../deprecations/c-api-pending-removal-in-3.15.rst
22352235

2236+
.. include:: ../deprecations/c-api-pending-removal-in-3.16.rst
2237+
22362238
.. include:: ../deprecations/c-api-pending-removal-in-future.rst
22372239

22382240
Removed

Doc/whatsnew/3.13.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2546,6 +2546,8 @@ Deprecated C APIs
25462546

25472547
.. include:: ../deprecations/c-api-pending-removal-in-3.15.rst
25482548

2549+
.. include:: ../deprecations/c-api-pending-removal-in-3.16.rst
2550+
25492551
.. include:: ../deprecations/c-api-pending-removal-in-3.18.rst
25502552

25512553
.. include:: ../deprecations/c-api-pending-removal-in-future.rst
@@ -2592,7 +2594,7 @@ Build Changes
25922594

25932595
* The :file:`configure` option :option:`--with-system-libmpdec`
25942596
now defaults to ``yes``.
2595-
The bundled copy of ``libmpdecimal`` will be removed in Python 3.15.
2597+
The bundled copy of ``libmpdec`` will be removed in Python 3.16.
25962598

25972599
* Python built with :file:`configure` :option:`--with-trace-refs`
25982600
(tracing references) is now ABI compatible with the Python release build

Doc/whatsnew/3.14.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3053,6 +3053,8 @@ Deprecated
30533053

30543054
.. include:: ../deprecations/c-api-pending-removal-in-3.15.rst
30553055

3056+
.. include:: ../deprecations/c-api-pending-removal-in-3.16.rst
3057+
30563058
.. include:: ../deprecations/c-api-pending-removal-in-3.18.rst
30573059

30583060
.. include:: ../deprecations/c-api-pending-removal-in-future.rst

configure

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8129,11 +8129,11 @@ PY_STDLIB_MOD([_decimal],
81298129

81308130
AS_VAR_IF([with_system_libmpdec], [no],
81318131
[AC_MSG_WARN([m4_normalize([
8132-
the bundled copy of libmpdecimal is scheduled for removal in Python 3.16;
8132+
the bundled copy of libmpdec is scheduled for removal in Python 3.16;
81338133
consider using a system installed mpdecimal library.])])])
81348134
AS_IF([test "$with_system_libmpdec" = "yes" && test "$have_mpdec" = "no"],
81358135
[AC_MSG_WARN([m4_normalize([
8136-
no system libmpdecimal found; falling back to pure-Python version
8136+
no system libmpdec found; falling back to pure-Python version
81378137
for the decimal module])])])
81388138

81398139
PY_STDLIB_MOD([_dbm],

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy