History for Objects/longobject.c - python/cpython · GitHub

github.com

Tin mới

gh-156101: Don't set the result in error in PyLong_AsInt32() (#156727)

gh-156101: Don't set the result in error in PyLong_AsInt32() (#156727)

gh-151218: Replace sys.flags in PyConfig_Set() (#151402)

gh-151218: Replace sys.flags in PyConfig_Set() (#151402)

gh-150285: Fix too long docstrings in builtins (GH-150293)

gh-150285: Fix too long docstrings in builtins (GH-150293)

gh-147988: Initialize digits in long_alloc() in debug mode (#147989)

gh-147988: Initialize digits in long_alloc() in debug mode (#147989)

gh-143050: Add helper _PyLong_InitTag() (#147956)

gh-143050: Add helper _PyLong_InitTag() (#147956)

gh-143050: Correct PyLong_FromString() to use _PyLong_Negate() (#145901)

gh-143050: Correct PyLong_FromString() to use _PyLong_Negate() (#145901)

gh-126835: Fix _PY_IS_SMALL_INT() macro (#146631)

gh-126835: Fix _PY_IS_SMALL_INT() macro (#146631)

GH-145247: Use _PyTuple_FromPair[Steal] in Objects (#145884)

GH-145247: Use _PyTuple_FromPair[Steal] in Objects (#145884)

Revert "gh-143050: Remove redundant decref in _PyLong_Negate (gh-143051)" (#145891)

Revert "gh-143050: Remove redundant decref in _PyLong_Negate (gh-143051)" (#145891)

gh-143050: Remove redundant decref in _PyLong_Negate (gh-143051)

gh-143050: Remove redundant decref in _PyLong_Negate (gh-143051)

gh-143192 Avoid incref/decref pair in long_bitwise (gh-143194)

gh-143192 Avoid incref/decref pair in long_bitwise (gh-143194)

gh-132108: Add Buffer Protocol support to int.from_bytes to improve performance (#132109)

gh-132108: Add Buffer Protocol support to int.from_bytes to improve performance (#132109)

gh-142554: avoid `divmod` crashes due to bad `_pylong.int_divmod` (#142673)

gh-142554: avoid `divmod` crashes due to bad `_pylong.int_divmod` (#142673)

gh-111389: replace deprecated occurrences of `_PyHASH_*` macros (#141236)

gh-111389: replace deprecated occurrences of `_PyHASH_*` macros (#141236)

gh-140061: Use `_PyObject_IsUniquelyReferenced()` to check if objects are uniquely referenced (gh-140062)

gh-140061: Use `_PyObject_IsUniquelyReferenced()` to check if objects are uniquely referenced (gh-140062)

gh-129813, PEP 782: Use PyBytesWriter in _PyBytes_FormatEx() (#138839)

gh-129813, PEP 782: Use PyBytesWriter in _PyBytes_FormatEx() (#138839)

gh-71810: Fix _PyLong_AsByteArray() undefined behavior (#138873)

gh-71810: Fix _PyLong_AsByteArray() undefined behavior (#138873)

gh-71810: Fix corner case (length==0) for int.to_bytes() (#138739)

gh-71810: Fix corner case (length==0) for int.to_bytes() (#138739)

gh-136599: Improve long_hash() (#136600)

gh-136599: Improve long_hash() (#136600)

GH-135763: AC: Use ``Py_ssize_t(allow_negative=False)`` (#138394)

GH-135763: AC: Use ``Py_ssize_t(allow_negative=False)`` (#138394)

GH-137623: Use an AC decorator for docstring line length enforcement (#137690)

GH-137623: Use an AC decorator for docstring line length enforcement (#137690)

gh-82088: Improve performance of PyLong_As*() for multi-digit ints (#135585)

gh-82088: Improve performance of PyLong_As*() for multi-digit ints (#135585)

gh-135379: fix MSVC warning: conversion from 'stwodigits' to 'digit' (GH-135714)

gh-135379: fix MSVC warning: conversion from 'stwodigits' to 'digit' (GH-135714)

GH-135379: Specialize int operations for compact ints only (GH-135668)

GH-135379: Specialize int operations for compact ints only (GH-135668)

gh-135474: Specialize arithmetic only on compact ints (GH-135479)

gh-133489: Remove size restrictions on getrandbits() and randbytes() (GH-133658)

gh-133583: Add support for fixed size unsigned integers in argument parsing (GH-133584)

gh-132987: Support __index__() for unsigned integers in Argument Clinic (GH-133011)

Correct _PyLong_Frexp() description in comments (GH-132716)

GH-131296: fix clang-cl warning on Windows in `Objects/longobject.c` for 32bit builds (#131604)

gh-111178: remove redundant casts for functions with correct signatures (#131673)

GH-129149: Add fast path for medium-sized integers in `PyLong_From*` functions (#131211)

gh-111178: Fix function signatures for multiple tests (#131496)

GH-131238: More refactoring of core header files (GH-131351)

gh-129149: Add fast path for medium-sized integers in `PyLong_FromSsize_t()` (#129301)