summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_fractions.py
Commit message (Expand)AuthorAgeFilesLines
* gh-108303: Update test_fractions for new Lib/test/mathdata/ (#109686)Victor Stinner2023-09-211-1/+1
* gh-109546: Add more tests for formatting floats and fractions (GH-109548)Serhiy Storchaka2023-09-191-0/+28
* gh-101773: Optimize creation of Fractions in private methods (#101780)Sergey B Kirpichev2023-02-271-0/+1
* gh-67790: Support float-style formatting for Fraction instances (#100161)Mark Dickinson2023-01-221-0/+376
* gh-100488: Add is_integer method to fractions.Fraction (#100489)Shantanu2023-01-011-0/+13
* Allow whitespace around a slash in fraction string inputs (GH-96496)Raymond Hettinger2022-09-021-3/+1
* bpo-44547: Make Fractions objects instances of typing.SupportsInt (GH-27851)Mark Dickinson2021-10-211-0/+42
* bpo-44258: support PEP 515 for Fraction's initialization from string (GH-26422)Sergey B Kirpichev2021-06-071-0/+62
* bpo-44154: optimize Fraction pickling (GH-26186)Sergey B Kirpichev2021-05-171-1/+3
* bpo-43420: Simple optimizations for Fraction's arithmetics (GH-24779)Sergey B Kirpichev2021-03-221-0/+2
* Revert "bpo-26680: Incorporate is_integer in all built-in and standard librar...Raymond Hettinger2020-10-071-11/+0
* bpo-26680: Incorporate is_integer in all built-in and standard library numeri...Robert Smallshire2020-10-011-0/+11
* bpo-40443: Remove unused imports in tests (GH-19804)Victor Stinner2020-04-301-1/+0
* bpo-39350: Fix fractions for int subclasses (GH-18375)Victor Stinner2020-02-071-0/+22
* bpo-39274: Ensure Fraction.__bool__() returns a bool (GH-18017)Sebastian Berg2020-02-061-0/+37
* bpo-39350: Remove deprecated fractions.gcd() (GH-18021)Victor Stinner2020-01-161-25/+2
* bpo-37819: Add Fraction.as_integer_ratio() (GH-15212)Raymond Hettinger2019-08-111-0/+6
* bpo-35588: Speed up mod, divmod and floordiv operations for Fraction type (#1...Stefan Behnel2019-01-021-1/+50
* bpo-32968: Make modulo and floor division involving Fraction and float consis...Elias Zamaria2018-08-271-3/+7
* Issue #27832: Make _normalize parameter to Fraction.__init__ keyword-only.Mark Dickinson2016-08-231-0/+1
* Issue #27539: Merge from 3.5.Mark Dickinson2016-08-221-0/+13
|\
| * Issue #27539: Fix unnormalised Fraction.__pow__ result for negative exponent ...Mark Dickinson2016-08-221-0/+13
* | Issue #25971: Optimized creating Fractions from floats by 2 times and fromSerhiy Storchaka2015-12-291-7/+7
|/
* Issue #22486: Added the math.gcd() function. The fractions.gcd() function no...Serhiy Storchaka2015-05-121-11/+22
* Issue #21741: Update 147 test modules to use test discovery.Zachary Ware2015-04-131-5/+2
* Issue #21136: Avoid unnecessary normalization in Fractions resulting from pow...Mark Dickinson2014-04-051-1/+2
* Issue #16469: Fraction(float('nan')) and Fraction(float('inf')) now raise Val...Mark Dickinson2012-11-151-14/+18
* Issue #7652: Integrate the decimal floating point libmpdec library to speedStefan Krah2012-03-211-8/+4
* #14089: increase coverage of the fractions module. Patch by Oleg Plakhotnyuk.Ezio Melotti2012-02-291-0/+22
* Issue #10624: Use support.requires_IEEE_754 in all appropriate tests.Eric Smith2010-12-041-6/+1
* #9424: Replace deprecated assert* methods in the Python test suite.Ezio Melotti2010-11-201-99/+99
* Make Fraction(-1).__hash__() return -2 rather than -1 (see issue 10356).Mark Dickinson2010-11-131-0/+3
* Issue #8188: Comparisons between Decimal objects and other numericMark Dickinson2010-06-111-2/+1
* Merged revisions 79629 via svnmerge fromMark Dickinson2010-04-031-1/+26
* Merged revisions 79455 via svnmerge fromMark Dickinson2010-03-271-2/+15
* Issue #6431: Fix Fraction comparisons to return NotImplemented whenMark Dickinson2009-07-181-0/+126
* Merged revisions 71832 via svnmerge fromMark Dickinson2009-04-241-1/+7
* Issue #5812: Make Fraction('1e6') valid. The Fraction constructor nowMark Dickinson2009-04-221-4/+8
* Issue 4998: restore utility of __slots__ on Fraction.Mark Dickinson2009-02-121-0/+5
* Manually merge r68096,68189 from 3.0 branch.Georg Brandl2009-01-031-0/+2
* Merged revisions 64722,64729,64753,64845-64846,64849,64871,64880-64882,64885,...Georg Brandl2008-07-161-8/+4
* Merged revisions 64623,64640,64665,64687,64689-64690,64719,64721,64735,64742,...Georg Brandl2008-07-161-4/+4
* Merged revisions 64475,64544-64545,64550,64557-64558,64565,64570,64577,64582-...Benjamin Peterson2008-07-021-0/+4
* Merged revisions 64434-64435,64440-64443,64445,64447-64448,64450,64452,64455,...Benjamin Peterson2008-07-021-9/+9
* #2621 rename test.test_support to test.supportBenjamin Peterson2008-05-201-1/+1
* Merged revisions 60990-61002 via svnmerge fromChristian Heimes2008-02-231-1/+1
* Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,...Christian Heimes2008-02-141-218/+203
* Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,...Christian Heimes2008-02-111-0/+427