summaryrefslogtreecommitdiff
path: root/Objects/longobject.c
Commit message (Expand)AuthorAgeFilesLines
* gh-94673: Properly Initialize and Finalize Static Builtin Types for Each Inte...Eric Snow2023-05-011-7/+4
* gh-84436: Immortalize in _PyStructSequence_InitBuiltinWithFlags() (gh-104054)Eric Snow2023-05-011-2/+2
* gh-94673: Ensure Builtin Static Types are Readied Properly (gh-103940)Eric Snow2023-04-271-12/+2
* gh-84436: Implement Immortal Objects (gh-19474)Eddie Elizondo2023-04-221-3/+23
* GH-101291: Rearrange the size bits in PyLongObject (GH-102464)Mark Shannon2023-03-221-373/+321
* gh-101825: Clarify that as_integer_ratio() output is always normalized (#101843)Sergey B Kirpichev2023-02-271-4/+3
* gh-101266: Fix __sizeof__ for subclasses of int (#101394)Mark Dickinson2023-02-051-7/+4
* GH-101291: Refactor the `PyLongObject` struct into object header and PyLongVa...Mark Shannon2023-01-301-178/+178
* gh-101037: Fix potential memory underallocation for zeros of int subtypes (#1...Mark Dickinson2023-01-211-0/+5
* gh-100637: Fix int and bool __sizeof__ calculation to include the 1 element o...Ionite2023-01-021-1/+4
* gh-100268: Add is_integer method to int (#100439)Shantanu2022-12-231-0/+14
* clarify the 4300-digit limit on int-str conversion (#100175)Ned Batchelder2022-12-121-2/+2
* gh-98724: Fix warnings on Py_SETREF() usage (#99781)Victor Stinner2022-11-261-1/+1
* gh-99537: Use Py_SETREF() function in longobject C code (#99655)Victor Stinner2022-11-221-49/+24
* gh-99300: Use Py_NewRef() in Objects/ directory (#99351)Victor Stinner2022-11-101-31/+20
* Correct some typos in comments (GH-98194)jonasdlindner2022-11-061-1/+1
* gh-90716: Fix pylong_int_from_string() refleak (#99094)Victor Stinner2022-11-041-0/+1
* gh-90716: bugfixes and more tests for _pylong. (#99073)Gregory P. Smith2022-11-031-4/+11
* gh-90716: add _pylong.py module (#96673)Neil Schemenauer2022-10-251-0/+170
* gh-98417: Store int_max_str_digits on the Interpreter State (GH-98418)Eric Snow2022-10-191-3/+3
* gh-96526: Clarify format and __format__ docstrings (gh-96648)Michael2022-10-031-1/+3
* gh-96512: Move int_max_str_digits setting to PyConfig (#96944)Gregory P. Smith2022-10-031-7/+3
* gh-90716: Refactor PyLong_FromString to separate concerns (GH-96808)Oscar Benjamin2022-09-251-258/+297
* gh-95778: Mention sys.set_int_max_str_digits() in error message (#96874)Victor Stinner2022-09-161-2/+2
* gh-95778: Correctly pre-check for int-to-str conversion (#96537)Mark Dickinson2022-09-041-4/+22
* gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96499)Gregory P. Smith2022-09-021-1/+44
* gh-94673: Add _PyStaticType_InitBuiltin() (#95152)Eric Snow2022-07-251-1/+1
* GH-91432: Specialize FOR_ITER (GH-91713)Dennis Sweeney2022-06-211-0/+32
* Remove unnecessary for loop initializer in long_lshift1() (GH-93071)oda-gitso2022-05-251-1/+1
* gh-89653: Use int type for Unicode kind (#92704)Victor Stinner2022-05-131-2/+2
* gh-90213: Speed up right shifts of negative integers (GH-30277)Mark Dickinson2022-05-021-29/+69
* gh-91731: Replace Py_BUILD_ASSERT() with static_assert() (#91730)Victor Stinner2022-04-201-2/+5
* Cast to (destructor) to fix compiler warnings (GH-91711)Dennis Sweeney2022-04-201-1/+1
* gh-90667: Add specializations of Py_DECREF when types are known (GH-30872)Dennis Sweeney2022-04-191-15/+23
* gh-91117: Ensure integer mod and pow operations use cached small ints (GH-31843)Dennis Sweeney2022-04-111-0/+2
* bpo-46311: Clean up PyLong_FromLong and PyLong_FromLongLong (GH-30496)Mark Dickinson2022-03-011-41/+31
* bpo-46541: Replace core use of _Py_IDENTIFIER() with statically initialized g...Eric Snow2022-02-081-7/+4
* bpo-46407: Fix long_mod refleak (GH-31025)Ken Jin2022-01-311-1/+1
* bpo-46407: Optimizing some modulo operations (GH-30653)Crowthebird2022-01-271-9/+106
* bpo-46504: faster code for trial quotient in x_divrem() (GH-30856)Tim Peters2022-01-241-1/+8
* bpo-46406: Faster single digit int division. (#30626)Gregory P. Smith2022-01-231-10/+26
* bpo-46417: _curses uses PyStructSequence_NewType() (GH-30736)Victor Stinner2022-01-211-0/+1
* bpo-46417: Finalize structseq types at exit (GH-30645)Victor Stinner2022-01-211-0/+11
* bpo-46361: Fix "small" `int` caching (GH-30583)Brandt Bucher2022-01-161-1/+1
* bpo-46020: Optimize long_pow for the common case (GH-30555)Tim Peters2022-01-121-6/+13
* bpo-46233: Minor speedup for bigint squaring (GH-30345)Tim Peters2022-01-031-5/+19
* bpo-46218: Change long_pow() to sliding window algorithm (GH-30319)Tim Peters2022-01-021-24/+84
* bpo-46055: Speed up binary shifting operators (GH-30044)Xinhang Xu2021-12-271-1/+16
* bpo-46055: Streamline inner loop for right shifts (#30243)Mark Dickinson2021-12-271-7/+8
* bpo-45953: Statically initialize the small ints. (gh-30092)Eric Snow2021-12-131-29/+0