1. 21 Kas, 2010 1 kayıt (commit)
  2. 02 Nis, 2010 1 kayıt (commit)
  3. 27 Mar, 2010 1 kayıt (commit)
  4. 03 Şub, 2010 1 kayıt (commit)
  5. 08 Ock, 2010 2 kayıt (commit)
  6. 18 Tem, 2009 1 kayıt (commit)
  7. 24 Nis, 2009 1 kayıt (commit)
  8. 22 Nis, 2009 1 kayıt (commit)
  9. 20 Ock, 2009 1 kayıt (commit)
  10. 03 Ock, 2009 1 kayıt (commit)
  11. 10 Tem, 2008 2 kayıt (commit)
  12. 27 Haz, 2008 1 kayıt (commit)
  13. 21 Haz, 2008 1 kayıt (commit)
  14. 23 Şub, 2008 1 kayıt (commit)
  15. 14 Şub, 2008 1 kayıt (commit)
    • Jeffrey Yasskin's avatar
      Performance optimizations on Fraction's constructor. · 1c214d6c
      Jeffrey Yasskin yazdı
        ./python.exe -m timeit -s 'from fractions import Fraction' 'Fraction(3)`
      31.7 usec/loop -> 9.2 usec/loop
      
        ./python.exe -m timeit -s 'from fractions import Fraction' 'Fraction(3, 2)'`
      27.7 usec/loop -> 9.32 usec/loop
      
        ./python.exe -m timeit -s 'from fractions import Fraction; f = Fraction(3, 2)' 'Fraction(f)'
      31.9 usec/loop -> 14.3 usec/loop
      1c214d6c
  16. 12 Şub, 2008 2 kayıt (commit)
  17. 11 Şub, 2008 1 kayıt (commit)
  18. 10 Şub, 2008 1 kayıt (commit)
  19. 08 Şub, 2008 1 kayıt (commit)
  20. 02 Şub, 2008 1 kayıt (commit)
  21. 01 Şub, 2008 2 kayıt (commit)
  22. 31 Ock, 2008 1 kayıt (commit)
  23. 27 Ock, 2008 1 kayıt (commit)
  24. 25 Ock, 2008 2 kayıt (commit)
  25. 24 Ock, 2008 3 kayıt (commit)
  26. 19 Ock, 2008 1 kayıt (commit)
  27. 15 Ock, 2008 1 kayıt (commit)
    • Jeffrey Yasskin's avatar
      Add rational.Rational as an implementation of numbers.Rational with infinite · d7b00334
      Jeffrey Yasskin yazdı
      precision. This has been discussed at http://bugs.python.org/issue1682. It's
      useful primarily for teaching, but it also demonstrates how to implement a
      member of the numeric tower, including fallbacks for mixed-mode arithmetic.
      
      I expect to write a couple more patches in this area:
       * Rational.from_decimal()
       * Rational.trim/approximate() (maybe with different names)
       * Maybe remove the parentheses from Rational.__str__()
       * Maybe rename one of the Rational classes
       * Maybe make Rational('3/2') work.
      d7b00334