]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-119336: Restore removed _PyLong_NumBits() function (GH-119418) (#119970)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 3 Jun 2024 09:29:07 +0000 (11:29 +0200)
committerGitHub <noreply@github.com>
Mon, 3 Jun 2024 09:29:07 +0000 (09:29 +0000)
commitcc663b7e25539d938bf71bc1b4d69efd8824c2d3
tree9b58709b49dc0eff2c65d5e0d68ad79285695d30
parentc3fc3a2db84886f13bf020d7a1ec7f6b9ef1b775
[3.13] gh-119336: Restore removed _PyLong_NumBits() function (GH-119418) (#119970)

gh-119336: Restore removed _PyLong_NumBits() function (GH-119418)

It is used by the pywin32 project.
(cherry picked from commit e50fac96e82d857ecc024b4cd4e012493b077064)

Co-authored-by: Ethan Smith <ethan@ethanhs.me>
Include/cpython/longobject.h
Include/internal/pycore_long.h
Misc/NEWS.d/next/C API/2024-05-22-17-50-48.gh-issue-119336.ff3qnS.rst [new file with mode: 0644]