summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
Commit message (Expand)AuthorAgeFilesLines
* gh-142554: avoid `divmod` crashes due to bad `_pylong.int_divmod` (#142673)Bénédikt Tran13 days1-2/+2
* gh-111389: replace deprecated occurrences of `_PyHASH_*` macros (#141236)Bénédikt Tran2025-11-091-19/+19
* gh-140061: Use `_PyObject_IsUniquelyReferenced()` to check if objects are uni...Sergey Miryanov2025-10-151-3/+4
* gh-129813, PEP 782: Use PyBytesWriter in _PyBytes_FormatEx() (#138839)Victor Stinner2025-09-151-14/+16
* gh-71810: Fix _PyLong_AsByteArray() undefined behavior (#138873)Victor Stinner2025-09-141-2/+8
* gh-71810: Fix corner case (length==0) for int.to_bytes() (#138739)Sergey B Kirpichev2025-09-111-1/+1
* gh-136599: Improve long_hash() (#136600)Pieter Eendebak2025-09-041-1/+17
* GH-135763: AC: Use ``Py_ssize_t(allow_negative=False)`` (#138394)Adam Turner2025-09-021-8/+2
* GH-137623: Use an AC decorator for docstring line length enforcement (#137690)Adam Turner2025-08-181-1/+2
* gh-82088: Improve performance of PyLong_As*() for multi-digit ints (#135585)Pieter Eendebak2025-07-101-35/+75
* gh-135379: fix MSVC warning: conversion from 'stwodigits' to 'digit' (GH-135714)Chris Eibl2025-06-201-1/+1
* GH-135379: Specialize int operations for compact ints only (GH-135668)Mark Shannon2025-06-191-7/+38
* gh-135474: Specialize arithmetic only on compact ints (GH-135479)Ken Jin2025-06-141-6/+11
* gh-133489: Remove size restrictions on getrandbits() and randbytes() (GH-133658)Serhiy Storchaka2025-05-311-10/+3
* gh-133583: Add support for fixed size unsigned integers in argument parsing (...Serhiy Storchaka2025-05-081-0/+4
* gh-132987: Support __index__() for unsigned integers in Argument Clinic (GH-1...Serhiy Storchaka2025-04-281-94/+25
* Correct _PyLong_Frexp() description in comments (GH-132716)Sergey B Kirpichev2025-04-191-3/+1
* GH-131296: fix clang-cl warning on Windows in `Objects/longobject.c` for 32bi...Chris Eibl2025-04-181-0/+2
* gh-111178: remove redundant casts for functions with correct signatures (#131...Bénédikt Tran2025-04-011-4/+4
* GH-129149: Add fast path for medium-sized integers in `PyLong_From*` function...Chris Eibl2025-03-301-4/+12
* gh-111178: Fix function signatures for multiple tests (#131496)Victor Stinner2025-03-201-2/+8
* GH-131238: More refactoring of core header files (GH-131351)Mark Shannon2025-03-171-0/+1
* gh-129149: Add fast path for medium-sized integers in `PyLong_FromSsize_t()` ...Chris Eibl2025-03-131-105/+40
* gh-130599: use static constants str-to-int conversion (gh-130714)Neil Schemenauer2025-03-041-22/+53
* gh-127119: Faster check for small ints in long_dealloc (GH-127620)Pieter Eendebak2025-01-291-36/+25
* gh-102471: Change PyLongWriter_Discard(NULL) to do nothing (#129339)Victor Stinner2025-01-271-0/+4
* gh-128863: Deprecate _PyLong_FromDigits() function (#127939)Sergey B Kirpichev2025-01-241-2/+15
* gh-129149: Add fast path in PYLONG_FROM_UINT macro for compact integers (#129...Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి)2025-01-231-2/+6
* gh-128863: Deprecate _PyLong_New() function (#129212)Sergey B Kirpichev2025-01-231-37/+43
* gh-128863: Deprecate _PyLong_Sign() function (#129176)Victor Stinner2025-01-231-5/+11
* gh-126868: Add freelist for compact ints to `_PyLong_New` (#128181)Pieter Eendebak2024-12-261-12/+18
* gh-102471, PEP 757: Add PyLong import and export API (#121339)Victor Stinner2024-12-131-0/+120
* gh-126868: Add freelist for compact int objects (GH-126865)Pieter Eendebak2024-12-131-19/+59
* gh-126061: Add PyLong_IsPositive/Zero/Negative() functions (#126065)RUANG (James Roy)2024-11-121-0/+33
* GH-126547: Pre-assign version numbers for a few common classes (GH-126551)Mark Shannon2024-11-081-0/+1
* Use _PyLong_GetOne() and _PyLong_GetZero() in long_invmod() (#125044)Victor Stinner2024-10-071-11/+2
* gh-111178: Fix function signatures in longobject.c (#124895)Victor Stinner2024-10-021-100/+139
* gh-123497: New limit for Python integers on 64-bit platforms (GH-123724)Serhiy Storchaka2024-09-291-129/+67
* gh-121485: Always use 64-bit integers for integers bits count (GH-121486)Serhiy Storchaka2024-08-301-73/+52
* gh-120389: Add PyLong_FromInt64() and PyLong_AsInt64() (#120390)Victor Stinner2024-08-281-0/+66
* gh-111178: Avoid calling long_hash from incompatible pointer type (GH-122972)Bénédikt Tran2024-08-141-2/+3
* gh-121905: Consistently use "floating-point" instead of "floating point" (GH-...Serhiy Storchaka2024-07-191-1/+1
* gh-121153: Fix some errors with use of _PyLong_CompactValue() (GH-121154)Serhiy Storchaka2024-07-131-13/+55
* gh-121115: Skip __index__ in PyLong_AsNativeBytes by default (GH-121118)Steve Dower2024-06-281-1/+5
* gh-120593: Fix const qualifier in _PyLong_CompactValue() (#121053)Victor Stinner2024-06-261-2/+2
* gh-120080: Accept ``None`` as a valid argument for direct call of the ``int._...Kirill Podoprigora2024-06-071-3/+3
* gh-119057: Use better error messages for zero division (#119066)Nikita Sobolev2024-06-031-3/+2
* gh-116560: Add PyLong_GetSign() public function (#116561)Sergey B Kirpichev2024-06-031-0/+12
* gh-119613: Use C99+ functions instead of Py_IS_NAN/INFINITY/FINITE (#119619)Sergey B Kirpichev2024-05-291-2/+2
* Tiny fix: Update link for HAC algorithm (gh-118546)Ayato Hayashi2024-05-231-2/+2