]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-40874 Update the required libmpdec version for the decimal module (GH-21202)
authorStefan Krah <skrah@bytereef.org>
Sun, 28 Jun 2020 20:01:01 +0000 (22:01 +0200)
committerGitHub <noreply@github.com>
Sun, 28 Jun 2020 20:01:01 +0000 (22:01 +0200)
Misc/NEWS.d/next/Library/2020-06-28-21-16-51.bpo-40874.YImvzA.rst [new file with mode: 0644]
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 (file)
index 0000000..a43eab8
--- /dev/null
@@ -0,0 +1 @@
+The decimal module now requires libmpdec-2.5.0.
index 20ba8fb77ad44f30fd559284f3367fd440ff2098..ff7c647c2220c183fbb3f50be7460cde89f21d6c 100644 (file)
@@ -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