[Python-checkins] cpython: Issue #26621: Update libmpdec version and remove unnecessary test case.

stefan.krah python-checkins at python.org
Wed Mar 23 17:54:32 EDT 2016


https://hg.python.org/cpython/rev/24c8bb9421f4
changeset:   100703:24c8bb9421f4
user:        Stefan Krah <skrah at bytereef.org>
date:        Wed Mar 23 20:50:10 2016 +0100
summary:
  Issue #26621: Update libmpdec version and remove unnecessary test case.

files:
  Lib/_pydecimal.py                     |  2 +-
  Lib/test/test_decimal.py              |  1 -
  Modules/_decimal/libmpdec/mpdecimal.h |  4 ++--
  3 files changed, 3 insertions(+), 4 deletions(-)


diff --git a/Lib/_pydecimal.py b/Lib/_pydecimal.py
--- a/Lib/_pydecimal.py
+++ b/Lib/_pydecimal.py
@@ -148,7 +148,7 @@
 __name__ = 'decimal'    # For pickling
 __version__ = '1.70'    # Highest version of the spec this complies with
                         # See http://speleotrove.com/decimal/
-__libmpdec_version__ = "2.4.1" # compatible libmpdec version
+__libmpdec_version__ = "2.4.2" # compatible libmpdec version
 
 import math as _math
 import numbers as _numbers
diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py
--- a/Lib/test/test_decimal.py
+++ b/Lib/test/test_decimal.py
@@ -4206,7 +4206,6 @@
         self.assertTrue(P.HAVE_THREADS is True or P.HAVE_THREADS is False)
 
         self.assertEqual(C.__version__, P.__version__)
-        self.assertEqual(C.__libmpdec_version__, P.__libmpdec_version__)
 
         self.assertEqual(dir(C), dir(P))
 
diff --git a/Modules/_decimal/libmpdec/mpdecimal.h b/Modules/_decimal/libmpdec/mpdecimal.h
--- a/Modules/_decimal/libmpdec/mpdecimal.h
+++ b/Modules/_decimal/libmpdec/mpdecimal.h
@@ -108,9 +108,9 @@
 
 #define MPD_MAJOR_VERSION 2
 #define MPD_MINOR_VERSION 4
-#define MPD_MICRO_VERSION 1
+#define MPD_MICRO_VERSION 2
 
-#define MPD_VERSION "2.4.1"
+#define MPD_VERSION "2.4.2"
 
 #define MPD_VERSION_HEX ((MPD_MAJOR_VERSION << 24) | \
                          (MPD_MINOR_VERSION << 16) | \

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list