COMMITS
/ Lib/test/test_fractions.py July 7, 2025
S
gh-87790: support thousands separators for formatting fractional part of Fraction (#132204)
Sergey B Kirpichev committed
July 3, 2025
S
gh-130664: Treat '0' fill character with align '=' as zero-padding for Fraction's (GH-131067)
Sergey B Kirpichev committed
June 2, 2025
S
gh-130662: Accept leading zeros in precision/width for Fraction's formatting (#130663)
Sergey B Kirpichev committed
May 14, 2025
S
Test also error messages in test_limit_int. (GH-134018)
Serhiy Storchaka committed
S
Improve tests for str to Fraction conversion (GH-134010)
Serhiy Storchaka committed
April 16, 2025
S
gh-130104: Call __rpow__ in ternary pow() if necessary (GH-130251)
Serhiy Storchaka committed
October 14, 2024
S
gh-121797: Add class method Fraction.from_number() (GH-121800)
Serhiy Storchaka committed
September 9, 2024
A
Fix typos (#123775)
algonell committed
July 19, 2024
S
gh-82017: Support as_integer_ratio() in the Fraction constructor (GH-120271)
Serhiy Storchaka committed
June 17, 2024
V
gh-120417: Remove unused imports in tests (part 2) (#120630)
Victor Stinner committed
June 3, 2024
S
gh-119838: Treat Fraction as a real value in mixed arithmetic operations with complex (GH-119839)
Serhiy Storchaka committed
May 31, 2024
J
gh-119189: Fix the power operator for Fraction (GH-119242)
Joshua Herman committed
May 30, 2024
S
gh-109218: Deprecate weird cases in the complex() constructor (GH-119620)
Serhiy Storchaka committed
May 29, 2024
W
gh-119594: Improve pow(fraction.Fraction(), b, modulo) error message (#119593)
Wim Jeantine-Glenn committed
May 21, 2024
S
gh-119189: Add yet more tests for mixed Fraction arithmetic (GH-119298)
Serhiy Storchaka committed
May 20, 2024
S
gh-119189: Add more tests for mixed Fraction arithmetic (GH-119236)
Serhiy Storchaka committed
February 10, 2024
January 13, 2024
C
gh-114014: Update `fractions.Fraction()`'s rational parsing regex (#114015)
Crowthebird committed
December 16, 2023
M
gh-67790: Support basic formatting for Fraction (#111320)
Mark Dickinson committed
September 21, 2023
V
gh-108303: Update test_fractions for new Lib/test/mathdata/ (#109686)
Victor Stinner committed
September 19, 2023
S
gh-109546: Add more tests for formatting floats and fractions (GH-109548)
Serhiy Storchaka committed
February 27, 2023
S
gh-101773: Optimize creation of Fractions in private methods (#101780)
Sergey B Kirpichev committed
January 22, 2023
M
gh-67790: Support float-style formatting for Fraction instances (#100161)
Mark Dickinson committed
January 1, 2023
S
gh-100488: Add is_integer method to fractions.Fraction (#100489)
Shantanu committed
September 2, 2022
R
Allow whitespace around a slash in fraction string inputs (GH-96496)
Raymond Hettinger committed
October 21, 2021
M
bpo-44547: Make Fractions objects instances of typing.SupportsInt (GH-27851)
Mark Dickinson committed
June 7, 2021
S
bpo-44258: support PEP 515 for Fraction's initialization from string (GH-26422)
Sergey B Kirpichev committed
May 17, 2021
S
bpo-44154: optimize Fraction pickling (GH-26186)
Sergey B Kirpichev committed
March 22, 2021
S
bpo-43420: Simple optimizations for Fraction's arithmetics (GH-24779)
Sergey B Kirpichev committed
October 7, 2020
R
October 1, 2020
R
bpo-26680: Incorporate is_integer in all built-in and standard library numeric types (GH-6121)
Robert Smallshire committed
April 30, 2020
V
bpo-40443: Remove unused imports in tests (GH-19804)
Victor Stinner committed
February 7, 2020
V
bpo-39350: Fix fractions for int subclasses (GH-18375)
Victor Stinner committed
February 6, 2020
S
bpo-39274: Ensure Fraction.__bool__() returns a bool (GH-18017)
Sebastian Berg committed
January 16, 2020
V
bpo-39350: Remove deprecated fractions.gcd() (GH-18021)
Victor Stinner committed
August 11, 2019
R
bpo-37819: Add Fraction.as_integer_ratio() (GH-15212)
Raymond Hettinger committed
January 2, 2019
S
bpo-35588: Speed up mod, divmod and floordiv operations for Fraction type (#11322)
Stefan Behnel committed
August 27, 2018
August 23, 2016
M
Issue #27832: Make _normalize parameter to Fraction.__init__ keyword-only.
Mark Dickinson committed
August 22, 2016
M
Issue #27539: Merge from 3.5.
Mark Dickinson committed
December 29, 2015
S
Issue #25971: Optimized creating Fractions from floats by 2 times and from
Serhiy Storchaka committed
May 12, 2015
S
Issue #22486: Added the math.gcd() function. The fractions.gcd() function now is
Serhiy Storchaka committed
April 13, 2015
Z
Issue #21741: Update 147 test modules to use test discovery.
Zachary Ware committed
April 5, 2014
M
November 15, 2012
March 21, 2012
S
Issue #7652: Integrate the decimal floating point libmpdec library to speed
Stefan Krah committed
February 29, 2012
E
#14089: increase coverage of the fractions module. Patch by Oleg Plakhotnyuk.
Ezio Melotti committed
December 4, 2010
E
Issue #10624: Use support.requires_IEEE_754 in all appropriate tests.
Eric Smith committed
November 20, 2010
E
#9424: Replace deprecated assert* methods in the Python test suite.
Ezio Melotti committed