| Commit message (Expand) | Author | Age | Files | Lines |
* | gh-101266: Fix __sizeof__ for subclasses of int (#101394) | Mark Dickinson | 2023-02-05 | 1 | -0/+39 |
|
|
* | gh-100268: Add is_integer method to int (#100439) | Shantanu | 2022-12-24 | 1 | -0/+5 |
|
|
* | gh-98783: Fix crashes when `str` subclasses are used in `_PyUnicode_Equal` (#... | Nikita Sobolev | 2022-10-30 | 1 | -0/+12 |
|
|
* | gh-94808: Cover `PyObject_PyBytes` case with custom `__bytes__` method (#96610) | Nikita Sobolev | 2022-10-06 | 1 | -0/+16 |
|
|
* | gh-90213: Speed up right shifts of negative integers (GH-30277) | Mark Dickinson | 2022-05-02 | 1 | -0/+4 |
|
|
* | gh-91117: Ensure integer mod and pow operations use cached small ints (GH-31843) | Dennis Sweeney | 2022-04-11 | 1 | -0/+42 |
|
|
* | bpo-44977: Deprecate delegation of int to __trunc__ (GH-31031) | Zackery Spytz | 2022-02-03 | 1 | -1/+2 |
|
|
* | bpo-46361: Fix "small" `int` caching (GH-30583) | Brandt Bucher | 2022-01-16 | 1 | -0/+7 |
|
|
* | bpo-46233: Minor speedup for bigint squaring (GH-30345) | Tim Peters | 2022-01-04 | 1 | -0/+11 |
|
|
* | bpo-46055: Speed up binary shifting operators (GH-30044) | Xinhang Xu | 2021-12-27 | 1 | -2/+61 |
|
|
* | Fix typos in the Lib directory (GH-28775) | Christian Clauss | 2021-10-06 | 1 | -1/+1 |
|
|
* | bpo-45155 : Default arguments for int.to_bytes(length=1, byteorder=sys.byteor... | Barry Warsaw | 2021-09-16 | 1 | -2/+22 |
|
|
* | bpo-16580: [doc] Add examples to int.to_bytes and int.from_bytes (GH-27760) | Gautam Chaudhuri | 2021-08-15 | 1 | -0/+42 |
|
|
* | Revert "bpo-26680: Incorporate is_integer in all built-in and standard librar... | Raymond Hettinger | 2020-10-07 | 1 | -4/+0 |
|
|
* | bpo-26680: Incorporate is_integer in all built-in and standard library numeri... | Robert Smallshire | 2020-10-01 | 1 | -0/+4 |
|
|
* | bpo-29882: Add an efficient popcount method for integers (#771) | Niklas Fiekas | 2020-05-29 | 1 | -0/+11 |
|
|
* | bpo-27145: small_ints[x] could be returned in long_add and long_sub (GH-15716) | HongWeipeng | 2019-11-26 | 1 | -0/+8 |
|
|
* | bpo-33073: Rework int.as_integer_ratio() implementation (GH-9303) | Serhiy Storchaka | 2018-10-19 | 1 | -28/+6 |
|
|
* | closes bpo-34868: Improve error message with '_' is combined with an invalid ... | Benjamin Peterson | 2018-10-02 | 1 | -0/+3 |
|
|
* | bpo-33073: Adding as_integer_ratio to ints. (GH-8750) | Lisa Roach | 2018-09-14 | 1 | -0/+32 |
|
|
* | bpo-34087: Fix buffer overflow in int(s) and similar functions (GH-8274) | INADA Naoki | 2018-07-14 | 1 | -0/+4 |
|
|
* | bpo-29816: Shift operation now has less opportunity to raise OverflowError. (... | Serhiy Storchaka | 2017-03-30 | 1 | -2/+30 |
|
|
* | Issue 27080: PEP 515: add '_' formatting option. | Eric V. Smith | 2016-09-10 | 1 | -0/+28 |
|
|
* | Merge | Raymond Hettinger | 2016-09-03 | 1 | -1/+1 |
|\ |
|
| * | Issue 27936: Fix inconsistent round() behavior between float and int | Raymond Hettinger | 2016-09-03 | 1 | -1/+1 |
|
|
* | | Issue #27870: A left shift of zero by a large integer no longer attempts to a... | Mark Dickinson | 2016-08-29 | 1 | -0/+15 |
|
|
* | | Issue #23640: int.from_bytes() no longer bypasses constructors for subclasses. | Serhiy Storchaka | 2016-05-12 | 1 | -0/+17 |
|\ \
| |/ |
|
| * | Issue #23640: int.from_bytes() no longer bypasses constructors for subclasses. | Serhiy Storchaka | 2016-05-12 | 1 | -0/+17 |
|
|
* | | Issues #26289 and #26315: Optimize floor/modulo div for single-digit longs | Yury Selivanov | 2016-02-11 | 1 | -0/+33 |
|/ |
|
* | Issue #25211: Merge test_long from 3.4 into 3.5 | Martin Panter | 2015-09-26 | 1 | -88/+72 |
|\ |
|
| * | Issue #25211: Eliminate lazy error message class by using subTest | Martin Panter | 2015-09-25 | 1 | -88/+72 |
|
|
* | | Issue #21741: Update 147 test modules to use test discovery. | Zachary Ware | 2015-04-13 | 1 | -4/+1 |
|
|
* | | Issue #23326: Removed __ne__ implementations. Since fixing default __ne__ | Serhiy Storchaka | 2015-01-31 | 1 | -2/+0 |
|/ |
|
* | Issue #21422: Add a test to check that bool << int and bool >> int return an int | Victor Stinner | 2014-05-12 | 1 | -0/+7 |
|
|
* | Issue #20546: Use specific asserts in int tests. | Serhiy Storchaka | 2014-02-08 | 1 | -24/+24 |
|\ |
|
| * | Issue #20546: Use specific asserts in int tests. | Serhiy Storchaka | 2014-02-08 | 1 | -24/+24 |
|
|
* | | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -11/+4 |
|\ \
| |/ |
|
| * | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -11/+4 |
|
|
* | | Issue #17516: do not create useless tuple: remove dummy commas in tests | Victor Stinner | 2013-03-26 | 1 | -1/+1 |
|/ |
|
* | Issue #14630: Merge fix from 3.2. | Mark Dickinson | 2012-04-20 | 1 | -0/+14 |
|\ |
|
| * | Issue #14630: Fix an incorrect access of ob_digit[0] for a zero instance of a... | Mark Dickinson | 2012-04-20 | 1 | -0/+14 |
|
|
* | | Issue #10925: Add equivalent pure Python code for the builtin int-to-float co... | Mark Dickinson | 2011-10-23 | 1 | -0/+80 |
|/ |
|
* | Issue #10624: Use support.requires_IEEE_754 in all appropriate tests. | Eric Smith | 2010-12-04 | 1 | -8/+3 |
|
|
* | #1513299: cleanup some map() uses where a comprehension works better. | Georg Brandl | 2010-12-04 | 1 | -1/+1 |
|
|
* | Issue #2844: Make int('42', n) consistently raise ValueError for | Mark Dickinson | 2010-05-26 | 1 | -0/+10 |
|
|
* | Merged revisions 81551 via svnmerge from | Mark Dickinson | 2010-05-26 | 1 | -0/+15 |
|
|
* | Merged revisions 78093 via svnmerge from | Georg Brandl | 2010-03-14 | 1 | -5/+0 |
|
|
* | Merged revisions 78018,78035-78040,78042-78043,78046,78048-78052,78054,78059,... | Georg Brandl | 2010-03-14 | 1 | -1/+1 |
|
|
* | Issue #1023290: Added API for the conversion of longs to bytes and vice-versa. | Alexandre Vassalotti | 2010-01-09 | 1 | -0/+232 |
|
|
* | Merged revisions 77071 via svnmerge from | Mark Dickinson | 2009-12-27 | 1 | -3/+2 |
|
|