mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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.
This commit is contained in:
parent
cdac302af3
commit
45059eb1d0
6 changed files with 331 additions and 39 deletions
|
@ -4150,6 +4150,7 @@ class CheckAttributes(unittest.TestCase):
|
|||
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__)
|
||||
|
||||
x = dir(C)
|
||||
y = [s for s in dir(P) if '__' in s or not s.startswith('_')]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue