summaryrefslogtreecommitdiff
path: root/Lib/decimal.py
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2013-11-24 19:44:57 +0100
committerStefan Krah <skrah@bytereef.org>2013-11-24 19:44:57 +0100
commit45059eb1d0788aa74ea383c89cf2f8c7a32fd2aa (patch)
treeb3b6d49eaf9541e9c53b0eef260f53e6607b69f0 /Lib/decimal.py
parentcdac302af362f275f31c13e143f78ec682ef7b68 (diff)
downloadcpython-git-45059eb1d0788aa74ea383c89cf2f8c7a32fd2aa.tar.gz
1) Prepare libmpdec for the 2.4.0 release. None of the following changes affects
_decimal: o Make all "mpd_t to C integer" conversion functions available in both the 64-bit and the 32-bit versions. o Make all mixed mpd_t/C integer arithmetic functions available in the 32-bit version. o Better handling of __STDC_LIMIT_MACROS for C++ users. o Add struct tags (at the request of C++ users). 2) Check for libmpdec.so.2 if --with-system-libmpdec is used.
Diffstat (limited to 'Lib/decimal.py')
-rw-r--r--Lib/decimal.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/decimal.py b/Lib/decimal.py
index 96d9df4a8c..9f37e4fa48 100644
--- a/Lib/decimal.py
+++ b/Lib/decimal.py
@@ -140,6 +140,7 @@ __all__ = [
__version__ = '1.70' # Highest version of the spec this complies with
# See http://speleotrove.com/decimal/
+__libmpdec_version__ = "2.4.0" # compatible libmpdec version
import copy as _copy
import math as _math