summaryrefslogtreecommitdiff
path: root/Lib/test/test_long.py
AgeCommit message (Expand)AuthorLines
2018-10-01closes bpo-34868: Improve error message with '_' is combined with an invalid ...Miss Islington (bot)-0/+3
2018-07-13bpo-34087: Fix buffer overflow in int(s) and similar functions (GH-8274)Miss Islington (bot)-0/+4
2017-03-30bpo-29816: Shift operation now has less opportunity to raise OverflowError. (...Serhiy Storchaka-2/+30
2016-09-09Issue 27080: PEP 515: add '_' formatting option.Eric V. Smith-0/+28
2016-09-03MergeRaymond Hettinger-1/+1
2016-09-03Issue 27936: Fix inconsistent round() behavior between float and intRaymond Hettinger-1/+1
2016-08-29Issue #27870: A left shift of zero by a large integer no longer attempts to a...Mark Dickinson-0/+15
2016-05-12Issue #23640: int.from_bytes() no longer bypasses constructors for subclasses.Serhiy Storchaka-0/+17
2016-05-12Issue #23640: int.from_bytes() no longer bypasses constructors for subclasses.Serhiy Storchaka-0/+17
2016-02-11Issues #26289 and #26315: Optimize floor/modulo div for single-digit longsYury Selivanov-0/+33
2015-09-26Issue #25211: Merge test_long from 3.4 into 3.5Martin Panter-88/+72
2015-09-25Issue #25211: Eliminate lazy error message class by using subTestMartin Panter-88/+72
2015-04-13Issue #21741: Update 147 test modules to use test discovery.Zachary Ware-4/+1
2015-01-31Issue #23326: Removed __ne__ implementations. Since fixing default __ne__Serhiy Storchaka-2/+0
2014-05-12Issue #21422: Add a test to check that bool << int and bool >> int return an intVictor Stinner-0/+7
2014-02-08Issue #20546: Use specific asserts in int tests.Serhiy Storchaka-24/+24
2014-02-08Issue #20546: Use specific asserts in int tests.Serhiy Storchaka-24/+24
2013-08-27Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka-11/+4
2013-08-27Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka-11/+4
2013-03-26Issue #17516: do not create useless tuple: remove dummy commas in testsVictor Stinner-1/+1
2012-04-20Issue #14630: Merge fix from 3.2.Mark Dickinson-0/+14
2012-04-20Issue #14630: Fix an incorrect access of ob_digit[0] for a zero instance of a...Mark Dickinson-0/+14
2011-10-23Issue #10925: Add equivalent pure Python code for the builtin int-to-float co...Mark Dickinson-0/+80
2010-12-04Issue #10624: Use support.requires_IEEE_754 in all appropriate tests.Eric Smith-8/+3
2010-12-04#1513299: cleanup some map() uses where a comprehension works better.Georg Brandl-1/+1
2010-05-26Issue #2844: Make int('42', n) consistently raise ValueError forMark Dickinson-0/+10
2010-05-26Merged revisions 81551 via svnmerge fromMark Dickinson-0/+15
2010-03-14Merged revisions 78093 via svnmerge fromGeorg Brandl-5/+0
2010-03-14Merged revisions 78018,78035-78040,78042-78043,78046,78048-78052,78054,78059,...Georg Brandl-1/+1
2010-01-09Issue #1023290: Added API for the conversion of longs to bytes and vice-versa.Alexandre Vassalotti-0/+232
2009-12-27Merged revisions 77071 via svnmerge fromMark Dickinson-3/+2
2009-12-27Merged revisions 77066 via svnmerge fromMark Dickinson-1/+1
2009-12-27Merged revisions 77062 via svnmerge fromMark Dickinson-4/+164
2009-12-05Issue #7435: Remove duplicate int/long tests, and otherMark Dickinson-336/+19
2009-06-30convert old fail* assertions to assert*Benjamin Peterson-13/+13
2009-04-20Merged revisions 71772 via svnmerge fromMark Dickinson-0/+59
2009-03-18Issue #4258: Make it possible to use 30-bit digits for PyLongs:Mark Dickinson-1/+30
2009-01-28Issue #4707: round(x, n) now returns an integer when x is an integer.Mark Dickinson-0/+75
2009-01-27Issue #1717: Remove cmp. Stage 1: remove all uses of cmp and __cmp__ fromMark Dickinson-3/+4
2009-01-20Issue 4842, patch 2/2: int('3L') should be invalid in Python 3.x.Mark Dickinson-0/+10
2009-01-12Issue #4910 (1st patch of a series): fix int() and the correspondingMark Dickinson-4/+18
2008-12-17Forward merge of r67822 to py3k: add bit_length method to int.Mark Dickinson-0/+36
2008-10-16remove some more references to __cmp__ #1717Benjamin Peterson-1/+13
2008-08-12Merged revisions 65459,65472,65481,65518,65536,65581,65609,65637,65641,65644-...Georg Brandl-1/+2
2008-07-24Optimization to stop creating new small longs and use theFacundo Batista-0/+18
2008-07-13move test_long_future into test_longBenjamin Peterson-0/+35
2008-05-20#2621 rename test.test_support to test.supportBenjamin Peterson-2/+2
2008-05-11Merged revisions 63078 via svnmerge fromEric Smith-1/+1
2008-05-04Merged revisions 62425-62429,62434-62436,62441,62444,62446-62448,62450-62455,...Christian Heimes-2/+220
2008-02-11Renamed test_format to test__format__, since it really tests the __format__ m...Eric Smith-1/+1