summaryrefslogtreecommitdiffstats
path: root/Lib/fractions.py
Commit message (Expand)AuthorAgeFilesLines
* Manually merge r68095,68186,68187,68188,68190 from 2.6 branch.Georg Brandl2009-01-031-1/+1
* Issue 3285: Fractions from_float() and from_decimal() accept Integral arguments.Raymond Hettinger2008-07-101-2/+6
* Use operator.index() instead of n.__index__().Raymond Hettinger2008-07-101-5/+2
* Issue 3287: Raise correct exception for float inputs.Raymond Hettinger2008-07-101-3/+5
* Remove trailing 'L's from numerator and denominator in theMark Dickinson2008-06-271-1/+1
* Use repr() for bad input strings; this makes the empty string or binary chara...Andrew M. Kuchling2008-06-211-1/+1
* The __all__ variable forgot to expose the gcd() function.Raymond Hettinger2008-05-081-1/+1
* Change simple instances (in Fraction) of self.numerator and self.denominator toJeffrey Yasskin2008-02-141-28/+28
* Performance optimizations on Fraction's constructor.Jeffrey Yasskin2008-02-141-11/+9
* Revert change in r60712: turn alternate constructors back intoMark Dickinson2008-02-121-13/+13
* Implementation of Fraction.limit_denominator.Mark Dickinson2008-02-121-34/+52
* Put an extra space into the repr of a Fraction:Mark Dickinson2008-02-111-1/+1
* Rename rational.Rational to fractions.Fraction, to avoid name clashMark Dickinson2008-02-101-0/+520