summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_long.py
Commit message (Expand)AuthorAgeFilesLines
* 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
* Merged revisions 77066 via svnmerge fromMark Dickinson2009-12-271-1/+1
* Merged revisions 77062 via svnmerge fromMark Dickinson2009-12-271-4/+164
* Issue #7435: Remove duplicate int/long tests, and otherMark Dickinson2009-12-051-336/+19
* convert old fail* assertions to assert*Benjamin Peterson2009-06-301-13/+13
* Merged revisions 71772 via svnmerge fromMark Dickinson2009-04-201-0/+59
* Issue #4258: Make it possible to use 30-bit digits for PyLongs:Mark Dickinson2009-03-181-1/+30
* Issue #4707: round(x, n) now returns an integer when x is an integer.Mark Dickinson2009-01-281-0/+75
* Issue #1717: Remove cmp. Stage 1: remove all uses of cmp and __cmp__ fromMark Dickinson2009-01-271-3/+4
* Issue 4842, patch 2/2: int('3L') should be invalid in Python 3.x.Mark Dickinson2009-01-201-0/+10
* Issue #4910 (1st patch of a series): fix int() and the correspondingMark Dickinson2009-01-121-4/+18