]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-121485: Always use 64-bit integers for integers bits count (GH-121486)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 30 Aug 2024 05:13:24 +0000 (08:13 +0300)
committerGitHub <noreply@github.com>
Fri, 30 Aug 2024 05:13:24 +0000 (08:13 +0300)
commit32c7dbb2bc58bee953622fc5ac24aad123f0d8f2
treec77954d29b817d4a49ec547fd0d5117461b58cdf
parent58ce131037ecb34d506a613f21993cde2056f628
gh-121485: Always use 64-bit integers for integers bits count (GH-121486)

Use 64-bit integers instead of platform specific size_t or Py_ssize_t
to represent the number of bits in Python integer.
13 files changed:
Include/cpython/longobject.h
Include/internal/pycore_long.h
Lib/test/test_capi/test_long.py
Lib/test/test_long.py
Lib/test/test_math.py
Misc/NEWS.d/next/Library/2024-07-09-12-23-32.gh-issue-121486.Iultjh.rst [new file with mode: 0644]
Modules/_pickle.c
Modules/_randommodule.c
Modules/_testinternalcapi.c
Modules/mathmodule.c
Objects/floatobject.c
Objects/longobject.c
Python/ast_opt.c