summaryrefslogtreecommitdiffstats
path: root/Lib/decimal.py
Commit message (Expand)AuthorAgeFilesLines
* Fix bug in _insert_thousands_sep: too much zero padding could beMark Dickinson2009-03-181-2/+1
* Issue #2110: Add support for thousands separator and 'n' format specifierMark Dickinson2009-03-171-83/+202
* Fix bug in Decimal __format__ method that swapped left and rightMark Dickinson2009-03-171-2/+2
* Add a version tag to the decimal module.Raymond Hettinger2009-03-101-0/+2
* Register decimals as numbers.NumberRaymond Hettinger2009-02-031-0/+7
* Remove uses of cmp from the decimal module.Mark Dickinson2009-01-251-3/+15
* More Python 2.3 compatibility fixes for decimal.py.Mark Dickinson2009-01-041-4/+4
* Fix Decimal.from_float to use valid Python 2.3 syntax, as perMark Dickinson2009-01-041-3/+11
* Reapply r68191.Raymond Hettinger2009-01-031-56/+56
* Issue 4796: Add from_float methods to the decimal module.Raymond Hettinger2009-01-031-56/+106
* Issue #4812: further renaming of internal Decimal constants, for clarity.Mark Dickinson2009-01-031-56/+56
* Issue #4812: add missing underscore prefix to some internal-use-onlyMark Dickinson2009-01-021-63/+63
* Issue #4084: Fix max, min, max_mag and min_mag Decimal methods toFacundo Batista2008-12-111-16/+16
* Fix:Neal Norwitz2008-08-241-1/+1
* Issue 2235: __hash__ is once again inherited by default, but inheritance can ...Nick Coghlan2008-07-151-4/+2
* Replace occurrences of '\d' with '[0-9]' in Decimal regex, to make sureMark Dickinson2008-07-021-10/+10
* Make sure that Context traps and flags dictionaries have values 0 and 1Mark Dickinson2008-05-041-2/+2
* Some very minor changes to decimal.py in Python 2.6, aimedMark Dickinson2008-05-041-9/+9
* Backport Raymond's changes in r60508 to Python 2.6.Mark Dickinson2008-05-031-4/+4
* Fixed some test structures. Thanks Mark Dickinson.Facundo Batista2008-05-021-5/+1
* Issue #2482: Make sure that the coefficient of a DecimalMark Dickinson2008-03-251-3/+3
* Issue #2478: Decimal(sqrt(0)) failed when the decimal contextMark Dickinson2008-03-251-3/+3
* Fix docstring typo.Mark Dickinson2008-02-291-1/+1
* Add __format__ method to Decimal, to support PEP 3101Mark Dickinson2008-02-291-0/+240
* Remove duplicate 'import re' in decimal.pyMark Dickinson2008-02-241-2/+1
* Fix decimal repr which should have used single quotes like other reprs.Raymond Hettinger2008-02-141-242/+242
* Bring decimal a bit closer to the spec for Reals.Raymond Hettinger2008-02-121-0/+14
* Typos in decimal comment and documentationMark Dickinson2008-02-101-1/+1
* Issue 1979: Make Decimal comparisons (other than !=, ==) involving NaNMark Dickinson2008-02-061-39/+110
* Add support for trunc().Raymond Hettinger2008-01-241-0/+2
* Docstring typosAndrew M. Kuchling2008-01-161-3/+3
* Issue 1780: Allow leading and trailing whitespace in Decimal constructor,Mark Dickinson2008-01-121-3/+14
* Have Decimal.as_tuple return a named tuple.Raymond Hettinger2008-01-111-1/+7
* Issue #1757: The hash of a Decimal instance is no longer affectedFacundo Batista2008-01-081-3/+11
* Some minor cleanups. Thanks Mark Dickinson.Facundo Batista2007-12-191-34/+19
* Removed the private _rounding_decision: it was not needed, and the codeFacundo Batista2007-12-171-94/+38
* fma speedup by avoiding to create a Context. Thanks Mark Dickinson.Facundo Batista2007-12-041-16/+31
* Faster _fix function, and some reordering for a more elegantFacundo Batista2007-12-031-52/+47
* Speedup and cleaning of __str__. Thanks Mark Dickinson.Facundo Batista2007-12-031-71/+41
* Reordering of __new__ to minimize isinstance() calls to mostFacundo Batista2007-11-301-55/+56
* Major change in the internal structure of the DecimalFacundo Batista2007-11-231-302/+219
* The constructor from tuple was way too permissive: it allowed badFacundo Batista2007-10-191-10/+36
* Added a class to store the digits of log(10), so that they can be madeFacundo Batista2007-10-021-16/+49
* Made the various is_* operations return booleans. This was discussedFacundo Batista2007-10-021-112/+95
* Issue #1772851. Optimization of __hash__ to behave better for big bigFacundo Batista2007-09-191-4/+11
* Speed up of the various division operations (remainder, divide,Facundo Batista2007-09-181-161/+139
* The methods always return Decimal classes, even if they'reFacundo Batista2007-09-171-34/+38
* Put the parameter watchexp back in (changed watchexp from an intFacundo Batista2007-09-131-2/+13
* Merged the decimal-branch (revisions 54886 to 58140). Decimal is nowFacundo Batista2007-09-131-702/+2846
* When passed a bad formed literal to Decimal, now we have aFacundo Batista2007-08-151-1/+2