summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_long.py
Commit message (Expand)AuthorAgeFilesLines
* gh-101266: Fix __sizeof__ for subclasses of int (#101394)Mark Dickinson2023-02-051-0/+39
* gh-100268: Add is_integer method to int (#100439)Shantanu2022-12-241-0/+5
* gh-98783: Fix crashes when `str` subclasses are used in `_PyUnicode_Equal` (#...Nikita Sobolev2022-10-301-0/+12
* gh-94808: Cover `PyObject_PyBytes` case with custom `__bytes__` method (#96610)Nikita Sobolev2022-10-061-0/+16
* gh-90213: Speed up right shifts of negative integers (GH-30277)Mark Dickinson2022-05-021-0/+4
* gh-91117: Ensure integer mod and pow operations use cached small ints (GH-31843)Dennis Sweeney2022-04-111-0/+42
* bpo-44977: Deprecate delegation of int to __trunc__ (GH-31031)Zackery Spytz2022-02-031-1/+2
* bpo-46361: Fix "small" `int` caching (GH-30583)Brandt Bucher2022-01-161-0/+7
* bpo-46233: Minor speedup for bigint squaring (GH-30345)Tim Peters2022-01-041-0/+11
* bpo-46055: Speed up binary shifting operators (GH-30044)Xinhang Xu2021-12-271-2/+61
* Fix typos in the Lib directory (GH-28775)Christian Clauss2021-10-061-1/+1
* bpo-45155 : Default arguments for int.to_bytes(length=1, byteorder=sys.byteor...Barry Warsaw2021-09-161-2/+22
* bpo-16580: [doc] Add examples to int.to_bytes and int.from_bytes (GH-27760)Gautam Chaudhuri2021-08-151-0/+42
* Revert "bpo-26680: Incorporate is_integer in all built-in and standard librar...Raymond Hettinger2020-10-071-4/+0
* bpo-26680: Incorporate is_integer in all built-in and standard library numeri...Robert Smallshire2020-10-011-0/+4
* bpo-29882: Add an efficient popcount method for integers (#771)Niklas Fiekas2020-05-291-0/+11
* bpo-27145: small_ints[x] could be returned in long_add and long_sub (GH-15716)HongWeipeng2019-11-261-0/+8
* bpo-33073: Rework int.as_integer_ratio() implementation (GH-9303)Serhiy Storchaka2018-10-191-28/+6
* closes bpo-34868: Improve error message with '_' is combined with an invalid ...Benjamin Peterson2018-10-021-0/+3
* bpo-33073: Adding as_integer_ratio to ints. (GH-8750)Lisa Roach2018-09-141-0/+32
* bpo-34087: Fix buffer overflow in int(s) and similar functions (GH-8274)INADA Naoki2018-07-141-0/+4
* bpo-29816: Shift operation now has less opportunity to raise OverflowError. (...Serhiy Storchaka2017-03-301-2/+30
* Issue 27080: PEP 515: add '_' formatting option.Eric V. Smith2016-09-101-0/+28
* MergeRaymond Hettinger2016-09-031-1/+1
|\
| * Issue 27936: Fix inconsistent round() behavior between float and intRaymond Hettinger2016-09-031-1/+1
* | Issue #27870: A left shift of zero by a large integer no longer attempts to a...Mark Dickinson2016-08-291-0/+15
* | Issue #23640: int.from_bytes() no longer bypasses constructors for subclasses.Serhiy Storchaka2016-05-121-0/+17
|\ \ | |/
| * Issue #23640: int.from_bytes() no longer bypasses constructors for subclasses.Serhiy Storchaka2016-05-121-0/+17
* | Issues #26289 and #26315: Optimize floor/modulo div for single-digit longsYury Selivanov2016-02-111-0/+33
|/
* Issue #25211: Merge test_long from 3.4 into 3.5Martin Panter2015-09-261-88/+72
|\
| * Issue #25211: Eliminate lazy error message class by using subTestMartin Panter2015-09-251-88/+72
* | Issue #21741: Update 147 test modules to use test discovery.Zachary Ware2015-04-131-4/+1
* | Issue #23326: Removed __ne__ implementations. Since fixing default __ne__Serhiy Storchaka2015-01-311-2/+0
|/
* Issue #21422: Add a test to check that bool << int and bool >> int return an intVictor Stinner2014-05-121-0/+7
* Issue #20546: Use specific asserts in int tests.Serhiy Storchaka2014-02-081-24/+24
|\
| * Issue #20546: Use specific asserts in int tests.Serhiy Storchaka2014-02-081-24/+24
* | Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-11/+4
|\ \ | |/
| * Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-11/+4
* | Issue #17516: do not create useless tuple: remove dummy commas in testsVictor Stinner2013-03-261-1/+1
|/
* Issue #14630: Merge fix from 3.2.Mark Dickinson2012-04-201-0/+14
|\
| * Issue #14630: Fix an incorrect access of ob_digit[0] for a zero instance of a...Mark Dickinson2012-04-201-0/+14
* | Issue #10925: Add equivalent pure Python code for the builtin int-to-float co...Mark Dickinson2011-10-231-0/+80
|/
* Issue #10624: Use support.requires_IEEE_754 in all appropriate tests.Eric Smith2010-12-041-8/+3
* #1513299: cleanup some map() uses where a comprehension works better.Georg Brandl2010-12-041-1/+1
* Issue #2844: Make int('42', n) consistently raise ValueError forMark Dickinson2010-05-261-0/+10
* Merged revisions 81551 via svnmerge fromMark Dickinson2010-05-261-0/+15
* Merged revisions 78093 via svnmerge fromGeorg Brandl2010-03-141-5/+0
* Merged revisions 78018,78035-78040,78042-78043,78046,78048-78052,78054,78059,...Georg Brandl2010-03-141-1/+1
* Issue #1023290: Added API for the conversion of longs to bytes and vice-versa.Alexandre Vassalotti2010-01-091-0/+232
* Merged revisions 77071 via svnmerge fromMark Dickinson2009-12-271-3/+2