summaryrefslogtreecommitdiff
path: root/Lib/fractions.py
AgeCommit message (Expand)AuthorLines
2009-11-23Merged revisions 76456 via svnmerge fromMark Dickinson-2/+2
2009-01-03Fractions.from_float() no longer loses precision with large integer inputs.Raymond Hettinger-1/+1
2008-07-10Issue 3285: Fractions from_float() and from_decimal() accept Integral arguments.Raymond Hettinger-2/+6
2008-07-10Use operator.index() instead of n.__index__().Raymond Hettinger-5/+2
2008-07-10Issue 3287: Raise correct exception for float inputs.Raymond Hettinger-3/+5
2008-06-27Remove trailing 'L's from numerator and denominator in theMark Dickinson-1/+1
2008-06-21Use repr() for bad input strings; this makes the empty string or binary chara...Andrew M. Kuchling-1/+1
2008-05-08The __all__ variable forgot to expose the gcd() function.Raymond Hettinger-1/+1
2008-02-14Change simple instances (in Fraction) of self.numerator and self.denominator toJeffrey Yasskin-28/+28
2008-02-14Performance optimizations on Fraction's constructor.Jeffrey Yasskin-11/+9
2008-02-12Revert change in r60712: turn alternate constructors back intoMark Dickinson-13/+13
2008-02-12Implementation of Fraction.limit_denominator.Mark Dickinson-32/+50
2008-02-11Put an extra space into the repr of a Fraction:Mark Dickinson-1/+1
2008-02-10Rename rational.Rational to fractions.Fraction, to avoid name clashMark Dickinson-0/+520