Skip to content

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

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

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

Triggered via pull request June 17, 2025 08:35
Status Cancelled
Total duration 2m 46s
Artifacts

build.yml

on: pull_request
Change detection  /  Create context from changed files
16s
Change detection / Create context from changed files
Matrix: Address sanitizer
Matrix: build-macos
Matrix: build-tsan
Matrix: Ubuntu SSL tests with OpenSSL
Matrix: build-ubuntu
Matrix: build-windows-msi
Waiting for pending jobs
Matrix: build-windows
Matrix: CIFuzz
Check if Autoconf files are up to date
25s
Check if Autoconf files are up to date
Check if generated files are up to date
53s
Check if generated files are up to date
WASI  /  build and test
36s
WASI / build and test
Hypothesis tests on Ubuntu
48s
Hypothesis tests on Ubuntu
Cross build Linux
1m 54s
Cross build Linux
Docs  /  Docs
Docs / Docs
Docs  /  Doctest
Docs / Doctest
All required checks pass
5s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

50 errors and 12 warnings
WASI / build and test
Process completed with exit code 1.
macOS / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-24.04)
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-24.04): Objects/longobject.c#L505
‘digit_count’ undeclared (first use in this function); did you mean ‘int_bit_count’?
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.4.1)
Process completed with exit code 2.
Hypothesis tests on Ubuntu
Process completed with exit code 2.
Hypothesis tests on Ubuntu: Objects/longobject.c#L505
‘digit_count’ undeclared (first use in this function); did you mean ‘int_bit_count’?
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.2.4)
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.1.8)
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.3.3)
Process completed with exit code 2.
macOS (free-threading) / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
Process completed with exit code 2.
Check if generated files are up to date
Process completed with exit code 2.
macOS / build and test (macos-13)
Process completed with exit code 2.
Thread sanitizer / Thread sanitizer
Process completed with exit code 2.
Windows / Build and test (x64)
Process completed with exit code 1.
Windows / Build and test (x64): Objects/longobject.c#L505
you cannot dereference an operand of type 'int' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64): Objects/longobject.c#L505
'digit_count': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64)
Process completed with exit code 1.
Windows (free-threading) / Build and test (x64): Objects/longobject.c#L505
you cannot dereference an operand of type 'int' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64): Objects/longobject.c#L505
'digit_count': undeclared identifier [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (Win32)
Process completed with exit code 1.
Ubuntu (bolt) / build and test (ubuntu-24.04)
Process completed with exit code 2.
Ubuntu (bolt) / build and test (ubuntu-24.04): Objects/longobject.c#L505
‘digit_count’ undeclared (first use in this function); did you mean ‘int_bit_count’?
Thread sanitizer (free-threading) / Thread sanitizer
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.0.16)
The operation was canceled.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.0.16)
Canceling since a higher priority waiting request for Tests-eendebakpt-pylong_aslong exists
Windows / Build and test (arm64)
The operation was canceled.
Windows / Build and test (arm64): Objects/longobject.c#L505
you cannot dereference an operand of type 'int' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Objects/longobject.c#L505
'digit_count': undeclared identifier [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64)
Canceling since a higher priority waiting request for Tests-eendebakpt-pylong_aslong exists
Ubuntu / build and test (ubuntu-24.04-arm)
The operation was canceled.
Ubuntu / build and test (ubuntu-24.04-arm)
Canceling since a higher priority waiting request for Tests-eendebakpt-pylong_aslong exists
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm)
The operation was canceled.
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm)
Canceling since a higher priority waiting request for Tests-eendebakpt-pylong_aslong exists
Address sanitizer (ubuntu-24.04)
The operation was canceled.
Address sanitizer (ubuntu-24.04)
Canceling since a higher priority waiting request for Tests-eendebakpt-pylong_aslong exists
Cross build Linux
The operation was canceled.
Cross build Linux
Canceling since a higher priority waiting request for Tests-eendebakpt-pylong_aslong exists
Windows (free-threading) / Build and test (arm64)
The operation was canceled.
Windows (free-threading) / Build and test (arm64)
Canceling since a higher priority waiting request for Tests-eendebakpt-pylong_aslong exists
Ubuntu / build and test (ubuntu-24.04)
The operation was canceled.
Ubuntu / build and test (ubuntu-24.04): Objects/longobject.c#L505
‘digit_count’ undeclared (first use in this function); did you mean ‘int_bit_count’?
Ubuntu / build and test (ubuntu-24.04)
Canceling since a higher priority waiting request for Tests-eendebakpt-pylong_aslong exists
All required checks pass
Process completed with exit code 1.
Tests
Canceling since a higher priority waiting request for Tests-eendebakpt-pylong_aslong exists
Tests
Canceling since a higher priority waiting request for Tests-eendebakpt-pylong_aslong exists
Tests
Canceling since a higher priority waiting request for Tests-eendebakpt-pylong_aslong exists
Tests
Canceling since a higher priority waiting request for Tests-eendebakpt-pylong_aslong exists
Tests
Canceling since a higher priority waiting request for Tests-eendebakpt-pylong_aslong exists
Tests
Canceling since a higher priority waiting request for Tests-eendebakpt-pylong_aslong exists
macOS / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
xz 5.8.1 is already installed and up-to-date. To reinstall 5.8.1, run: brew reinstall xz
macOS / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
pkgconf 2.4.3 is already installed and up-to-date. To reinstall 2.4.3, run: brew reinstall pkgconf
Hypothesis tests on Ubuntu
No files were found with the provided path: /home/runner/work/cpython/cpython-builddir/.hypothesis/examples/. No artifacts will be uploaded.
macOS (free-threading) / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated dependents or dependents with broken linkage!
macOS (free-threading) / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
xz 5.8.1 is already installed and up-to-date. To reinstall 5.8.1, run: brew reinstall xz
macOS (free-threading) / build and test (ghcr.io/cirruslabs/macos-runner:sonoma)
pkgconf 2.4.3 is already installed and up-to-date. To reinstall 2.4.3, run: brew reinstall pkgconf
macOS / build and test (macos-13)
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-13)
tcl-tk@8 8.6.16 is already installed and up-to-date. To reinstall 8.6.16, run: brew reinstall tcl-tk@8
macOS / build and test (macos-13)
gdbm 1.25 is already installed and up-to-date. To reinstall 1.25, run: brew reinstall gdbm
macOS / build and test (macos-13)
xz 5.8.1 is already installed and up-to-date. To reinstall 5.8.1, run: brew reinstall xz
macOS / build and test (macos-13)
pkgconf 2.4.3 is already installed and up-to-date. To reinstall 2.4.3, run: brew reinstall pkgconf