index
:
cpython.git
2.7
3.3
3.4
3.5
3.6
benjamin-clang
benjamin-iteration-torture
buildbot-custom
master
https://github.com/python/cpython.git
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
Lib
/
rational.py
Commit message (
Expand
)
Author
Age
Files
Lines
*
Roll back r60248. It's useful to encourage users not to change Rational
Jeffrey Yasskin
2008-02-01
1
-3/+11
*
Minor wordsmithing on docstring
Raymond Hettinger
2008-01-31
1
-8/+7
*
Remove unused to-be-magic methods from Rational per issue 1968. Do not port
Jeffrey Yasskin
2008-01-31
1
-34/+0
*
Added more documentation on how mixed-mode arithmetic should be implemented. I
Jeffrey Yasskin
2008-01-31
1
-12/+74
*
Moved Rational._binary_float_to_ratio() to float.as_integer_ratio() because
Jeffrey Yasskin
2008-01-27
1
-55/+1
*
Docstring nit
Raymond Hettinger
2008-01-27
1
-1/+1
*
Make rational.gcd() public and allow Rational to take decimal strings, per
Jeffrey Yasskin
2008-01-27
1
-15/+22
*
More design notes
Raymond Hettinger
2008-01-25
1
-0/+4
*
Fix-up signature for approximation.
Raymond Hettinger
2008-01-25
1
-5/+6
*
Add one other review comment.
Raymond Hettinger
2008-01-25
1
-1/+1
*
Mark todos and review comments.
Raymond Hettinger
2008-01-25
1
-0/+13
*
Add support for copy, deepcopy, and pickle.
Raymond Hettinger
2008-01-25
1
-0/+15
*
More code cleanup. Remove unnecessary indirection to useless class methods.
Raymond Hettinger
2008-01-24
1
-15/+15
*
Add support for int(r) just like the other numeric classes.
Raymond Hettinger
2008-01-24
1
-0/+2
*
Clean-up and speed-up code by accessing numerator/denominator directly. Ther...
Raymond Hettinger
2008-01-24
1
-11/+3
*
Cleanup
Raymond Hettinger
2008-01-24
1
-3/+1
*
Minor clean-up and more tests.
Raymond Hettinger
2008-01-24
1
-2/+4
*
Add first-cut at an approximation function (still needs rounding tweaks). Ad...
Raymond Hettinger
2008-01-24
1
-0/+36
*
Several tweaks: add construction from strings and .from_decimal(), change
Jeffrey Yasskin
2008-01-19
1
-12/+64
*
Add rational.Rational as an implementation of numbers.Rational with infinite
Jeffrey Yasskin
2008-01-15
1
-0/+410