summaryrefslogtreecommitdiff
path: root/Lib/test/test_decimal.py
AgeCommit message (Expand)AuthorLines
2022-09-06[3.7] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (GH-96504)Gregory P. Smith-0/+18
2020-06-09[3.7] Revert bpo-39576: Prevent memory error for overly optimistic precisions...Stefan Krah-35/+0
2020-02-21bpo-39576: Prevent memory error for overly optimistic precisions (GH-18581) (...Miss Islington (bot)-0/+35
2018-11-05bpo-35133: Fix mistakes when concatenate string literals on different lines. ...Miss Islington (bot)-2/+2
2018-06-03bpo-33750: Reset thread-local context precision in test_round(). (GH-7355) (#...Miss Islington (bot)-11/+11
2017-09-14bpo-31234: Join threads in tests (#3572)Victor Stinner-0/+3
2017-09-07bpo-31370: Remove support for threads-less builds (#3385)Antoine Pitrou-6/+3
2017-03-27bpo-29919: Remove unused imports found by pyflakes (#137)Victor Stinner-2/+1
2017-02-14Fixed #29534 - _decimal difference with _pydecimal (#65)Andrew Nester-0/+10
2016-12-16Remove unused imports.Serhiy Storchaka-2/+0
2016-09-09Issue #26331: Implement the parsing part of PEP 515.Brett Cannon-0/+10
2016-07-17Merge 3.5.Stefan Krah-0/+28
2016-07-17Issue #26974: Fix segfault in the presence of absurd subclassing. ProactivelyStefan Krah-0/+28
2016-06-20Merge 3.5.Stefan Krah-1/+4
2016-06-20Issue #27006: from_float(): call the subclass' __new__() and __init__().Stefan Krah-1/+4
2016-03-23Issue #26621: Update libmpdec version and remove unnecessary test case.Stefan Krah-1/+0
2015-12-28Issue #25928: Add Decimal.as_integer_ratio(). Python parts and docs byStefan Krah-0/+33
2014-12-15Issue #22777: Test pickling with all protocols.Serhiy Storchaka-87/+89
2014-12-15Issue #22777: Test pickling with all protocols.Serhiy Storchaka-87/+89
2014-09-10Issue #19232: Speed up decimal import. Additionally, since _decimal isStefan Krah-3/+1
2014-08-26Merge 3.4.Stefan Krah-0/+5
2014-08-26Issue #22090: Fix '%' formatting for infinities and NaNs.Stefan Krah-0/+5
2014-06-02Issue #18492: Merge with 3.4Zachary Ware-2/+2
2014-06-02Issue #18492: Allow all resources when tests are not run by regrtest.py.Zachary Ware-2/+2
2014-05-01Fix typo and tests without docstrings.Stefan Krah-2/+3
2014-05-01Issue #21407: _decimal now supports function signatures.Stefan Krah-0/+138
2014-04-30Issue #10650: Remove the non-standard 'watchexp' parameter from theStefan Krah-12/+0
2014-04-29Issue #21374: Fix pickling of DecimalTuple.Stefan Krah-0/+17
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