diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-06-28 20:24:58 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-28 20:24:58 (GMT) |
| commit | 119de0eba839993cf6a909dba5d60202ad5566d6 (patch) | |
| tree | 9fb0dbead616d6d9f0597eedc36ff663f98d0125 | |
| parent | d1e05e78a3995fd7e5a79c5c6e4c8160aa48af22 (diff) | |
| download | cpython-119de0eba839993cf6a909dba5d60202ad5566d6.zip cpython-119de0eba839993cf6a909dba5d60202ad5566d6.tar.gz cpython-119de0eba839993cf6a909dba5d60202ad5566d6.tar.bz2 | |
bpo-40874 Update the required libmpdec version for the decimal module (GH-21202)
(cherry picked from commit 8bea91b5e9ea07ca93958e131b436024f0b1b1cf)
Authored-by: Stefan Krah <skrah@bytereef.org>
| -rw-r--r-- | Misc/NEWS.d/next/Library/2020-06-28-21-16-51.bpo-40874.YImvzA.rst | 1 | ||||
| -rw-r--r-- | Modules/_decimal/_decimal.c | 4 |
2 files changed, 3 insertions, 2 deletions
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 0000000..a43eab8 --- /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 20ba8fb..ff7c647 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 |
