[Python-checkins] bpo-40874 Update the required libmpdec version for the decimal module (GH-21202)

Stefan Krah webhook-mailer at python.org
Sun Jun 28 16:01:09 EDT 2020


https://github.com/python/cpython/commit/8bea91b5e9ea07ca93958e131b436024f0b1b1cf
commit: 8bea91b5e9ea07ca93958e131b436024f0b1b1cf
branch: master
author: Stefan Krah <skrah at bytereef.org>
committer: GitHub <noreply at github.com>
date: 2020-06-28T22:01:01+02:00
summary:

bpo-40874 Update the required libmpdec version for the decimal module (GH-21202)

files:
A Misc/NEWS.d/next/Library/2020-06-28-21-16-51.bpo-40874.YImvzA.rst
M Modules/_decimal/_decimal.c

diff --git a/Misc/NEWS.d/next/Library/2020-06-28-21-16-51.bpo-40874.YImvzA.rst b/Misc/NEWS.d/next/Library/2020-06-28-21-16-51.bpo-40874.YImvzA.rst
new file mode 100644
index 0000000000000..a43eab8f4dcdd
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-06-28-21-16-51.bpo-40874.YImvzA.rst
@@ -0,0 +1 @@
+The decimal module now requires libmpdec-2.5.0.
diff --git a/Modules/_decimal/_decimal.c b/Modules/_decimal/_decimal.c
index 20ba8fb77ad44..ff7c647c2220c 100644
--- a/Modules/_decimal/_decimal.c
+++ b/Modules/_decimal/_decimal.c
@@ -36,8 +36,8 @@
 #include "docstrings.h"
 
 
-#if !defined(MPD_VERSION_HEX) || MPD_VERSION_HEX < 0x02040100
-  #error "libmpdec version >= 2.4.1 required"
+#if !defined(MPD_VERSION_HEX) || MPD_VERSION_HEX < 0x02050000
+  #error "libmpdec version >= 2.5.0 required"
 #endif
 
 



More information about the Python-checkins mailing list