summaryrefslogtreecommitdiff
path: root/Lib/decimal.py
AgeCommit message (Expand)AuthorLines
2010-01-06Add missing docstring for Context.divmod. Thanks Juan José Conti.Mark Dickinson-0/+7
2009-10-29Issue #7233: Fix Decimal.shift and Decimal.rotate methods forMark Dickinson-8/+10
2009-10-29Issue #7233: A number of two-argument Decimal methods were failing toMark Dickinson-1/+20
2009-10-20Issue #7099: Decimal.is_normal should return True for all nonzeroMark Dickinson-1/+1
2009-10-07Issue #7048: logb should round its result when that result doesn't fitMark Dickinson-1/+2
2009-09-08Issue #6857: Fix Decimal formatting to be consistent with existing floatMark Dickinson-1/+4
2009-09-07#Issue 6795: Fix infinite recursion in long(Decimal('nan')); change int(Dec...Mark Dickinson-3/+2
2009-09-07Issue #6850: Fix bug in Decimal._parse_format_specifier for formatsMark Dickinson-1/+1
2009-08-28Issue #6794: Fix handling of NaNs in Decimal.compare_total andMark Dickinson-2/+5
2009-08-02Issue #6595: Allow Decimal constructor to accept non-European decimalMark Dickinson-17/+10
2009-04-27Update spec version number.Raymond Hettinger-1/+1
2009-03-18Fix bug in _insert_thousands_sep: too much zero padding could beMark Dickinson-2/+1
2009-03-17Issue #2110: Add support for thousands separator and 'n' format specifierMark Dickinson-83/+202
2009-03-17Fix bug in Decimal __format__ method that swapped left and rightMark Dickinson-2/+2
2009-03-10Add a version tag to the decimal module.Raymond Hettinger-0/+2
2009-02-03Register decimals as numbers.NumberRaymond Hettinger-0/+7
2009-01-25Remove uses of cmp from the decimal module.Mark Dickinson-3/+15
2009-01-04More Python 2.3 compatibility fixes for decimal.py.Mark Dickinson-4/+4
2009-01-04Fix Decimal.from_float to use valid Python 2.3 syntax, as perMark Dickinson-3/+11
2009-01-03Reapply r68191.Raymond Hettinger-56/+56
2009-01-03Issue 4796: Add from_float methods to the decimal module.Raymond Hettinger-56/+106
2009-01-03Issue #4812: further renaming of internal Decimal constants, for clarity.Mark Dickinson-56/+56
2009-01-02Issue #4812: add missing underscore prefix to some internal-use-onlyMark Dickinson-62/+62
2008-12-11Issue #4084: Fix max, min, max_mag and min_mag Decimal methods toFacundo Batista-16/+16
2008-08-24Fix:Neal Norwitz-1/+1
2008-07-15Issue 2235: __hash__ is once again inherited by default, but inheritance can ...Nick Coghlan-4/+2
2008-07-02Replace occurrences of '\d' with '[0-9]' in Decimal regex, to make sureMark Dickinson-10/+10
2008-05-04Make sure that Context traps and flags dictionaries have values 0 and 1Mark Dickinson-2/+2
2008-05-04Some very minor changes to decimal.py in Python 2.6, aimedMark Dickinson-9/+9
2008-05-03Backport Raymond's changes in r60508 to Python 2.6.Mark Dickinson-4/+4
2008-05-02Fixed some test structures. Thanks Mark Dickinson.Facundo Batista-5/+1
2008-03-25Issue #2482: Make sure that the coefficient of a DecimalMark Dickinson-3/+3
2008-03-25Issue #2478: Decimal(sqrt(0)) failed when the decimal contextMark Dickinson-3/+3
2008-02-29Fix docstring typo.Mark Dickinson-1/+1
2008-02-29Add __format__ method to Decimal, to support PEP 3101Mark Dickinson-0/+240
2008-02-24Remove duplicate 'import re' in decimal.pyMark Dickinson-2/+1
2008-02-14Fix decimal repr which should have used single quotes like other reprs.Raymond Hettinger-242/+242
2008-02-12Bring decimal a bit closer to the spec for Reals.Raymond Hettinger-0/+14
2008-02-10Typos in decimal comment and documentationMark Dickinson-1/+1
2008-02-06Issue 1979: Make Decimal comparisons (other than !=, ==) involving NaNMark Dickinson-39/+110
2008-01-24Add support for trunc().Raymond Hettinger-0/+2
2008-01-16Docstring typosAndrew M. Kuchling-3/+3
2008-01-12Issue 1780: Allow leading and trailing whitespace in Decimal constructor,Mark Dickinson-3/+14
2008-01-11Have Decimal.as_tuple return a named tuple.Raymond Hettinger-1/+7
2008-01-08Issue #1757: The hash of a Decimal instance is no longer affectedFacundo Batista-3/+11
2007-12-19Some minor cleanups. Thanks Mark Dickinson.Facundo Batista-34/+19
2007-12-17Removed the private _rounding_decision: it was not needed, and the codeFacundo Batista-94/+38
2007-12-04fma speedup by avoiding to create a Context. Thanks Mark Dickinson.Facundo Batista-16/+31
2007-12-03Faster _fix function, and some reordering for a more elegantFacundo Batista-52/+47
2007-12-03Speedup and cleaning of __str__. Thanks Mark Dickinson.Facundo Batista-69/+39