| Commit message (Expand) | Author | Age | Files | Lines |
* | gh-102840: Fix confused traceback when floordiv or mod operations happens bet... | Kirill Podoprigora | 2024-02-10 | 1 | -6/+7 |
|
|
* | gh-114014: Update `fractions.Fraction()`'s rational parsing regex (#114015) | Crowthebird | 2024-01-13 | 1 | -10/+10 |
|
|
* | gh-67790: Support basic formatting for Fraction (#111320) | Mark Dickinson | 2023-12-16 | 1 | -19/+68 |
|
|
* | gh-101825: Clarify that as_integer_ratio() output is always normalized (#101843) | Sergey B Kirpichev | 2023-02-27 | 1 | -3/+2 |
|
|
* | gh-101773: Optimize creation of Fractions in private methods (#101780) | Sergey B Kirpichev | 2023-02-27 | 1 | -33/+46 |
|
|
* | gh-67790: Support float-style formatting for Fraction instances (#100161) | Mark Dickinson | 2023-01-22 | 1 | -0/+206 |
|
|
* | gh-91851: Micro optimizations for arithmetic between Fractions (#25518) | Sergey B Kirpichev | 2023-01-08 | 1 | -10/+12 |
|
|
* | gh-91851: Trivial optimizations in Fraction (#100791) | Sergey B Kirpichev | 2023-01-06 | 1 | -5/+6 |
|
|
* | gh-100488: Add is_integer method to fractions.Fraction (#100489) | Shantanu | 2023-01-01 | 1 | -0/+4 |
|
|
* | GH-96465: Cache hashes for Fraction instances (GH-96483) | Raymond Hettinger | 2022-09-07 | 1 | -30/+35 |
|
|
* | Allow whitespace around a slash in fraction string inputs (GH-96496) | Raymond Hettinger | 2022-09-02 | 1 | -1/+1 |
|
|
* | Minor optimization for Fractions.limit_denominator (GH-93730) | Mark Dickinson | 2022-06-21 | 1 | -6/+8 |
|
|
* | bpo-44547: Make Fractions objects instances of typing.SupportsInt (GH-27851) | Mark Dickinson | 2021-10-21 | 1 | -1/+8 |
|
|
* | bpo-44258: support PEP 515 for Fraction's initialization from string (GH-26422) | Sergey B Kirpichev | 2021-06-07 | 1 | -10/+11 |
|
|
* | Trivial change in fractions module docs: real -> rational numbers (GH-25009) | Sergey B Kirpichev | 2021-05-29 | 1 | -1/+1 |
|
|
* | bpo-44154: optimize Fraction pickling (GH-26186) | Sergey B Kirpichev | 2021-05-17 | 1 | -1/+1 |
|
|
* | bpo-43420: Simple optimizations for Fraction's arithmetics (GH-24779) | Sergey B Kirpichev | 2021-03-22 | 1 | -9/+116 |
|
|
* | bpo-39350: Fix fractions for int subclasses (GH-18375) | Victor Stinner | 2020-02-07 | 1 | -7/+3 |
|
|
* | bpo-39274: Ensure Fraction.__bool__() returns a bool (GH-18017) | Sebastian Berg | 2020-02-06 | 1 | -1/+3 |
|
|
* | bpo-39350: Remove deprecated fractions.gcd() (GH-18021) | Victor Stinner | 2020-01-16 | 1 | -23/+1 |
|
|
* | Add a minor `Fraction.__hash__()` optimization (GH-15313) | Tim Peters | 2019-08-17 | 1 | -2/+17 |
|
|
* | bpo-37863: Optimize Fraction.__hash__() (#15298) | Raymond Hettinger | 2019-08-16 | 1 | -15/+11 |
|
|
* | bpo-37819: Add Fraction.as_integer_ratio() (GH-15212) | Raymond Hettinger | 2019-08-11 | 1 | -0/+8 |
|
|
* | bpo-36625: Remove obsolete comments from docstrings in fractions module (GH-1... | Jakub Molinski | 2019-04-15 | 1 | -3/+3 |
|
|
* | bpo-35588: Speed up mod, divmod and floordiv operations for Fraction type (#1... | Stefan Behnel | 2019-01-02 | 1 | -3/+11 |
|
|
* | bpo-32968: Make modulo and floor division involving Fraction and float consis... | Elias Zamaria | 2018-08-27 | 1 | -9/+4 |
|
|
* | Issue #27832: Make _normalize parameter to Fraction.__init__ keyword-only. | Mark Dickinson | 2016-08-23 | 1 | -1/+1 |
|
|
* | Issue #27539: Merge from 3.5. | Mark Dickinson | 2016-08-22 | 1 | -1/+5 |
|\ |
|
| * | Issue #27539: Fix unnormalised Fraction.__pow__ result for negative exponent ... | Mark Dickinson | 2016-08-22 | 1 | -1/+5 |
|
|
* | | Issue #25971: Optimized creating Fractions from floats by 2 times and from | Serhiy Storchaka | 2015-12-29 | 1 | -28/+4 |
|/ |
|
* | Issue #22486: Added the math.gcd() function. The fractions.gcd() function no... | Serhiy Storchaka | 2015-05-12 | 1 | -2/+19 |
|
|
* | #22464: Speed up common Fraction operations by special-casing several | Georg Brandl | 2014-09-24 | 1 | -7/+17 |
|
|
* | Issue #22033: Reprs of most Python implemened classes now contain actual | Serhiy Storchaka | 2014-07-25 | 1 | -1/+2 |
|
|
* | Issue #21136: Avoid unnecessary normalization in Fractions resulting from pow... | Mark Dickinson | 2014-04-05 | 1 | -9/+14 |
|
|
* | Issue #16469: Fraction(float('nan')) and Fraction(float('inf')) now raise Val... | Mark Dickinson | 2012-11-15 | 1 | -5/+9 |
|
|
* | Make Fraction(-1).__hash__() return -2 rather than -1 (see issue 10356). | Mark Dickinson | 2010-11-13 | 1 | -6/+3 |
|
|
* | Issue #8188: Introduce a new scheme for computing hashes of numbers | Mark Dickinson | 2010-05-23 | 1 | -9/+22 |
|
|
* | Merged revisions 79629 via svnmerge from | Mark Dickinson | 2010-04-03 | 1 | -8/+54 |
|
|
* | Merged revisions 79455 via svnmerge from | Mark Dickinson | 2010-03-27 | 1 | -2/+0 |
|
|
* | Merged revisions 76456 via svnmerge from | Mark Dickinson | 2009-11-23 | 1 | -2/+2 |
|
|
* | Issue #6431: Fix Fraction comparisons to return NotImplemented when | Mark Dickinson | 2009-07-18 | 1 | -30/+32 |
|
|
* | - remove svn:executable property from some library files | Matthias Klose | 2009-06-22 | 1 | -0/+0 |
|
|
* | Merged revisions 71832 via svnmerge from | Mark Dickinson | 2009-04-24 | 1 | -12/+21 |
|
|
* | Issue #5812: Make Fraction('1e6') valid. The Fraction constructor now | Mark Dickinson | 2009-04-22 | 1 | -19/+26 |
|
|
* | Manually merge r68096,68189 from 3.0 branch. | Georg Brandl | 2009-01-03 | 1 | -1/+1 |
|
|
* | Merged revisions 64722,64729,64753,64845-64846,64849,64871,64880-64882,64885,... | Georg Brandl | 2008-07-16 | 1 | -2/+6 |
|
|
* | Merged revisions 64623,64640,64665,64687,64689-64690,64719,64721,64735,64742,... | Georg Brandl | 2008-07-16 | 1 | -3/+2 |
|
|
* | Merged revisions 64475,64544-64545,64550,64557-64558,64565,64570,64577,64582-... | Benjamin Peterson | 2008-07-02 | 1 | -1/+1 |
|
|
* | Merged revisions 64434-64435,64440-64443,64445,64447-64448,64450,64452,64455,... | Benjamin Peterson | 2008-07-02 | 1 | -1/+1 |
|
|
* | Forward port r62849. | Raymond Hettinger | 2008-05-08 | 1 | -1/+1 |
|
|