summaryrefslogtreecommitdiffstats
path: root/Lib/_pydecimal.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #26621: Update libmpdec version and remove unnecessary test case.Stefan Krah2016-03-231-1/+1
|
* Issue #25971: Optimized creating Fractions from floats by 2 times and fromSerhiy Storchaka2015-12-291-4/+2
| | | | | | Decimals by 3 times. Unified error messages in float.as_integer_ratio(), Decimal.as_integer_ratio(), and Fraction constructors.
* Issue #25928: Add Decimal.as_integer_ratio(). Python parts and docs byStefan Krah2015-12-281-0/+52
| | | | Mark Dickinson.
* Issue #23641: Cleaned out legacy dunder names from tests and docs.Serhiy Storchaka2015-03-121-6/+5
| | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. Added few tests for __truediv__, __floordiv__ and __matmul__.
* Remaining fallout from 17911Robert Collins2015-03-051-1/+1
| | | | | | | | | | | | | The code module was using a private function from traceback in order to skip a frame - used the direct interface to do that instead, The decimal module suffered minor fallout from formatting changes ('None' as a value is now not printed by traceback, the same as None was not before). The cgitb module was passing a bogus exception type (type.__name__) into format_exception, which uncovered that format_exception and print_exception had been ignoring the etype for some time, so the compatibility thunk to the new code now does the same thing.
* Issue #23326: Removed __ne__ implementations. Since fixing default __ne__Serhiy Storchaka2015-01-311-9/+0
| | | | implementation in issue #21408 they are redundant.
* Issue #19232: Fix sys.modules lookup (--without-threads)Stefan Krah2014-10-121-1/+2
|
* Issue #19232: Speed up decimal import. Additionally, since _decimal isStefan Krah2014-09-101-0/+6389
self-contained, this change facilitates maintenance and the Python version can be easily imported for experimentation.