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
/
test
/
test_fractions.py
Commit message (
Expand
)
Author
Age
Files
Lines
*
gh-121797: Add class method Fraction.from_number() (GH-121800)
Serhiy Storchaka
2024-10-14
1
-7/+42
*
Fix typos (#123775)
algonell
2024-09-09
1
-1/+1
*
gh-82017: Support as_integer_ratio() in the Fraction constructor (GH-120271)
Serhiy Storchaka
2024-07-19
1
-0/+35
*
gh-120417: Remove unused imports in tests (part 2) (#120630)
Victor Stinner
2024-06-17
1
-1/+0
*
gh-119838: Treat Fraction as a real value in mixed arithmetic operations with...
Serhiy Storchaka
2024-06-03
1
-4/+1
*
gh-119189: Fix the power operator for Fraction (GH-119242)
Joshua Herman
2024-05-31
1
-5/+5
*
gh-109218: Deprecate weird cases in the complex() constructor (GH-119620)
Serhiy Storchaka
2024-05-30
1
-1/+4
*
gh-119594: Improve pow(fraction.Fraction(), b, modulo) error message (#119593)
Wim Jeantine-Glenn
2024-05-29
1
-0/+6
*
gh-119189: Add yet more tests for mixed Fraction arithmetic (GH-119298)
Serhiy Storchaka
2024-05-21
1
-3/+32
*
gh-119189: Add more tests for mixed Fraction arithmetic (GH-119236)
Serhiy Storchaka
2024-05-20
1
-0/+263
*
gh-102840: Fix confused traceback when floordiv or mod operations happens bet...
Kirill Podoprigora
2024-02-10
1
-0/+27
*
gh-114014: Update `fractions.Fraction()`'s rational parsing regex (#114015)
Crowthebird
2024-01-13
1
-0/+24
*
gh-67790: Support basic formatting for Fraction (#111320)
Mark Dickinson
2023-12-16
1
-5/+47
*
gh-108303: Update test_fractions for new Lib/test/mathdata/ (#109686)
Victor Stinner
2023-09-21
1
-1/+1
*
gh-109546: Add more tests for formatting floats and fractions (GH-109548)
Serhiy Storchaka
2023-09-19
1
-0/+28
*
gh-101773: Optimize creation of Fractions in private methods (#101780)
Sergey B Kirpichev
2023-02-27
1
-0/+1
*
gh-67790: Support float-style formatting for Fraction instances (#100161)
Mark Dickinson
2023-01-22
1
-0/+376
*
gh-100488: Add is_integer method to fractions.Fraction (#100489)
Shantanu
2023-01-01
1
-0/+13
*
Allow whitespace around a slash in fraction string inputs (GH-96496)
Raymond Hettinger
2022-09-02
1
-3/+1
*
bpo-44547: Make Fractions objects instances of typing.SupportsInt (GH-27851)
Mark Dickinson
2021-10-21
1
-0/+42
*
bpo-44258: support PEP 515 for Fraction's initialization from string (GH-26422)
Sergey B Kirpichev
2021-06-07
1
-0/+62
*
bpo-44154: optimize Fraction pickling (GH-26186)
Sergey B Kirpichev
2021-05-17
1
-1/+3
*
bpo-43420: Simple optimizations for Fraction's arithmetics (GH-24779)
Sergey B Kirpichev
2021-03-22
1
-0/+2
*
Revert "bpo-26680: Incorporate is_integer in all built-in and standard librar...
Raymond Hettinger
2020-10-07
1
-11/+0
*
bpo-26680: Incorporate is_integer in all built-in and standard library numeri...
Robert Smallshire
2020-10-01
1
-0/+11
*
bpo-40443: Remove unused imports in tests (GH-19804)
Victor Stinner
2020-04-30
1
-1/+0
*
bpo-39350: Fix fractions for int subclasses (GH-18375)
Victor Stinner
2020-02-07
1
-0/+22
*
bpo-39274: Ensure Fraction.__bool__() returns a bool (GH-18017)
Sebastian Berg
2020-02-06
1
-0/+37
*
bpo-39350: Remove deprecated fractions.gcd() (GH-18021)
Victor Stinner
2020-01-16
1
-25/+2
*
bpo-37819: Add Fraction.as_integer_ratio() (GH-15212)
Raymond Hettinger
2019-08-11
1
-0/+6
*
bpo-35588: Speed up mod, divmod and floordiv operations for Fraction type (#1...
Stefan Behnel
2019-01-02
1
-1/+50
*
bpo-32968: Make modulo and floor division involving Fraction and float consis...
Elias Zamaria
2018-08-27
1
-3/+7
*
Issue #27832: Make _normalize parameter to Fraction.__init__ keyword-only.
Mark Dickinson
2016-08-23
1
-0/+1
*
Issue #27539: Merge from 3.5.
Mark Dickinson
2016-08-22
1
-0/+13
|
\
|
*
Issue #27539: Fix unnormalised Fraction.__pow__ result for negative exponent ...
Mark Dickinson
2016-08-22
1
-0/+13
*
|
Issue #25971: Optimized creating Fractions from floats by 2 times and from
Serhiy Storchaka
2015-12-29
1
-7/+7
|
/
*
Issue #22486: Added the math.gcd() function. The fractions.gcd() function no...
Serhiy Storchaka
2015-05-12
1
-11/+22
*
Issue #21741: Update 147 test modules to use test discovery.
Zachary Ware
2015-04-13
1
-5/+2
*
Issue #21136: Avoid unnecessary normalization in Fractions resulting from pow...
Mark Dickinson
2014-04-05
1
-1/+2
*
Issue #16469: Fraction(float('nan')) and Fraction(float('inf')) now raise Val...
Mark Dickinson
2012-11-15
1
-14/+18
*
Issue #7652: Integrate the decimal floating point libmpdec library to speed
Stefan Krah
2012-03-21
1
-8/+4
*
#14089: increase coverage of the fractions module. Patch by Oleg Plakhotnyuk.
Ezio Melotti
2012-02-29
1
-0/+22
*
Issue #10624: Use support.requires_IEEE_754 in all appropriate tests.
Eric Smith
2010-12-04
1
-6/+1
*
#9424: Replace deprecated assert* methods in the Python test suite.
Ezio Melotti
2010-11-20
1
-99/+99
*
Make Fraction(-1).__hash__() return -2 rather than -1 (see issue 10356).
Mark Dickinson
2010-11-13
1
-0/+3
*
Issue #8188: Comparisons between Decimal objects and other numeric
Mark Dickinson
2010-06-11
1
-2/+1
*
Merged revisions 79629 via svnmerge from
Mark Dickinson
2010-04-03
1
-1/+26
*
Merged revisions 79455 via svnmerge from
Mark Dickinson
2010-03-27
1
-2/+15
*
Issue #6431: Fix Fraction comparisons to return NotImplemented when
Mark Dickinson
2009-07-18
1
-0/+126
*
Merged revisions 71832 via svnmerge from
Mark Dickinson
2009-04-24
1
-1/+7
[next]