summaryrefslogtreecommitdiff
path: root/Lib/test/test_decimal.py
AgeCommit message (Expand)AuthorLines
2014-12-15Issue #22777: Test pickling with all protocols.Serhiy Storchaka-87/+89
2014-08-26Issue #22090: Fix '%' formatting for infinities and NaNs.Stefan Krah-0/+5
2014-06-02Issue #18492: Allow all resources when tests are not run by regrtest.py.Zachary Ware-2/+2
2014-04-29Issue #21374: Fix pickling of DecimalTuple.Stefan Krah-0/+17
2013-12-12Avoid UnicodeEncodeError by only printing ASCII.Zachary Ware-2/+2
2013-12-08Issue 19572: More silently skipped tests explicitly skipped.Zachary Ware-11/+8
2013-11-241) Prepare libmpdec for the 2.4.0 release. None of the following changes aff...Stefan Krah-0/+1
2013-08-27Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka-1/+1
2013-05-29Backport bff16086f03b and bcaaaa00425b.Stefan Krah-0/+13
2013-05-29Issue #17768: Support newline fill character in decimal.py and NUL fillStefan Krah-0/+4
2013-03-11Issue #17047: remove doubled words added in 3.3Terry Jan Reedy-1/+1
2013-01-24Since the return type of format() is not a Decimal, raise ValueError instead ofStefan Krah-10/+4
2013-01-16Issue #16422: Use strings for rounding mode constants for better readabilityStefan Krah-65/+54
2012-12-16Issue #15783: Support None default values in the Context() constructor.Stefan Krah-0/+21
2012-12-15Issue #15783: Except for the number methods, the C version of decimal nowStefan Krah-8/+294
2012-11-10Accept Unicode legacy strings in the Decimal constructor.Stefan Krah-1/+10
2012-11-08Issue #16431: Finally, consider all permutations.Stefan Krah-8/+23
2012-11-07Issue #16431: Also fix the opposite direction.Stefan Krah-0/+4
2012-11-07Issue #16431: Use the type information when constructing a Decimal subtypeStefan Krah-0/+5
2012-09-28Closes #16080: The decorator ignores failed attempts to set the requiredStefan Krah-0/+6
2012-09-28Issue #16080: Use run_with_locale() decorator to reset the locale properly.Stefan Krah-7/+3
2012-09-10Issue #15882: Change _decimal to accept any coefficient tuple whenStefan Krah-7/+10
2012-08-24Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs.Mark Dickinson-0/+16
2012-04-05Allow printing a leading '-' and the maximum number of exponent digitsStefan Krah-0/+48
2012-04-05Raise InvalidOperation if exponents of zeros are clamped during exactStefan Krah-0/+24
2012-04-02Testing the implicit initialization of the thread local context on firstStefan Krah-70/+0
2012-04-02Whitespace.Stefan Krah-49/+49
2012-04-02Clear the context flags if a context is initialized from the DefaultContext.Stefan Krah-0/+70
2012-03-25Raise MemoryError instead of InvalidOperation/MallocError for compatibilityStefan Krah-1/+1
2012-03-23Use the same exception hierarchy as decimal.py. FloatOperation now alsoStefan Krah-0/+40
2012-03-21Issue #7652: Integrate the decimal floating point libmpdec library to speedStefan Krah-358/+2944
2011-10-24Issue #13248, issue #8540: Remove deprecated Context._clamp attribute from De...Mark Dickinson-12/+3
2011-05-22Issue #12079: Decimal(0).fma(Decimal('inf'), 'not a number') should give a Ty...Mark Dickinson-0/+11
2011-03-16#11565: Merge with 3.1.Ezio Melotti-1/+1
2011-03-16#11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti-1/+1
2010-12-04Issue #10624: Use support.requires_IEEE_754 in all appropriate tests.Eric Smith-6/+2
2010-11-25Issue #7094: Add alternate ('#') flag to __format__ methods for float, comple...Eric Smith-0/+12
2010-11-21Revert r86517Raymond Hettinger-1/+1
2010-11-18Issue #10356: hash(Decimal("sNaN")) now raises ValueError instead of TypeError.Stefan Krah-1/+1
2010-11-17Issue #10356: Decimal(-1).__hash__() should equal hash(Decimal(-1)).Stefan Krah-14/+21
2010-10-14Merged revisions 85503 via svnmerge fromAntoine Pitrou-8/+9
2010-10-14More proper closing of filesAntoine Pitrou-8/+9
2010-07-08Merged revisions 82646,82649-82650 via svnmerge fromMark Dickinson-41/+35
2010-07-08In test_decimal, convert heuristic for skipping tests into an explicit skiplist.Mark Dickinson-41/+35
2010-05-22#Issue 8540: Make Context._clamp attribute public in decimal module.Mark Dickinson-1/+23
2010-05-04Merged revisions 80755 via svnmerge fromMark Dickinson-0/+25
2010-05-04Merged revisions 80753 via svnmerge fromMark Dickinson-0/+25
2010-04-03Merged revisions 79678 via svnmerge fromEzio Melotti-40/+40
2010-04-03Merged revisions 79583,79588-79589 via svnmerge fromMark Dickinson-9/+78
2010-04-02Issue 8257: Decimal constructor to accept float argument.Raymond Hettinger-0/+26