Skip to content

gh-143050: Remove redundant decref in _PyLong_Negate #177785

gh-143050: Remove redundant decref in _PyLong_Negate

gh-143050: Remove redundant decref in _PyLong_Negate #177785

Triggered via pull request December 21, 2025 20:25
Status Cancelled
Total duration 13m 14s
Artifacts 1

build.yml

on: pull_request
Change detection  /  Create context from changed files
13s
Change detection / Create context from changed files
Matrix: build-android
Matrix: Address sanitizer
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests with AWS-LC
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
1m 24s
Check if generated files are up to date
iOS
12m 50s
iOS
WASI  /  build and test
50s
WASI / build and test
Hypothesis tests on Ubuntu
1m 49s
Hypothesis tests on Ubuntu
Cross build Linux
4m 5s
Cross build Linux
Docs  /  Check EPUB
Docs / Check EPUB
Docs  /  Docs
Docs / Docs
Docs  /  Doctest
Docs / Doctest
All required checks pass
3s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

54 errors and 24 warnings
WASI / build and test
Process completed with exit code 1.
macOS (free-threading) / build and test (macos-14)
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 1.1.1w)
Process completed with exit code 2.
Check if generated files are up to date
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.4.3)
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.0.18)
Process completed with exit code 2.
macOS / build and test (macos-14)
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.2.6)
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.5.4)
Process completed with exit code 2.
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.3.5)
Process completed with exit code 2.
Hypothesis tests on Ubuntu
Process completed with exit code 2.
Hypothesis tests on Ubuntu: Objects/longobject.c#L3627
static declaration of ‘_long_is_small_int’ follows non-static declaration
Hypothesis tests on Ubuntu: Objects/longobject.c#L360
implicit declaration of function ‘_long_is_small_int’ [-Werror=implicit-function-declaration]
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#L3627
static declaration of ‘_long_is_small_int’ follows non-static declaration
Ubuntu (free-threading) / build and test (ubuntu-24.04): Objects/longobject.c#L360
implicit declaration of function ‘_long_is_small_int’ [-Werror=implicit-function-declaration]
Ubuntu / build and test (ubuntu-24.04-arm)
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-24.04-arm): Objects/longobject.c#L3627
static declaration of ‘_long_is_small_int’ follows non-static declaration
Ubuntu / build and test (ubuntu-24.04-arm): Objects/longobject.c#L360
implicit declaration of function ‘_long_is_small_int’ [-Werror=implicit-function-declaration]
Ubuntu / build and test (ubuntu-24.04)
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-24.04): Objects/longobject.c#L3627
static declaration of ‘_long_is_small_int’ follows non-static declaration
Ubuntu / build and test (ubuntu-24.04): Objects/longobject.c#L360
implicit declaration of function ‘_long_is_small_int’ [-Werror=implicit-function-declaration]
Ubuntu SSL tests with AWS-LC (ubuntu-24.04, 1.55.0)
Process completed with exit code 2.
Sanitizers / TSan
Process completed with exit code 2.
macOS / build and test (macos-15-intel)
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm)
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm): Objects/longobject.c#L3627
static declaration of ‘_long_is_small_int’ follows non-static declaration
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm): Objects/longobject.c#L360
implicit declaration of function ‘_long_is_small_int’ [-Werror=implicit-function-declaration]
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#L3627
static declaration of ‘_long_is_small_int’ follows non-static declaration
Ubuntu (bolt) / build and test (ubuntu-24.04): Objects/longobject.c#L360
implicit declaration of function ‘_long_is_small_int’ [-Werror=implicit-function-declaration]
Sanitizers / TSan (free-threading)
Process completed with exit code 2.
Sanitizers / UBSan
Process completed with exit code 2.
Windows / Build and test (Win32)
Canceling since a higher priority waiting request for Tests-eendebakpt-long_negate_decref exists
Windows / Build and test (Win32)
The operation was canceled.
Windows (free-threading) / Build and test (x64)
Canceling since a higher priority waiting request for Tests-eendebakpt-long_negate_decref exists
Windows (free-threading) / Build and test (x64)
The operation was canceled.
Windows / Build and test (arm64)
Canceling since a higher priority waiting request for Tests-eendebakpt-long_negate_decref exists
Windows / Build and test (arm64)
The operation was canceled.
Windows / Build and test (x64)
Canceling since a higher priority waiting request for Tests-eendebakpt-long_negate_decref exists
Windows / Build and test (x64)
The operation was canceled.
Android (x86_64)
Canceling since a higher priority waiting request for Tests-eendebakpt-long_negate_decref exists
Android (x86_64)
The operation was canceled.
Windows (free-threading) / Build and test (arm64)
Canceling since a higher priority waiting request for Tests-eendebakpt-long_negate_decref exists
Windows (free-threading) / Build and test (arm64)
The operation was canceled.
iOS
Canceling since a higher priority waiting request for Tests-eendebakpt-long_negate_decref exists
iOS
The operation was canceled.
All required checks pass
Process completed with exit code 1.
Tests
Canceling since a higher priority waiting request for Tests-eendebakpt-long_negate_decref exists
Tests
Canceling since a higher priority waiting request for Tests-eendebakpt-long_negate_decref exists
Tests
Canceling since a higher priority waiting request for Tests-eendebakpt-long_negate_decref exists
Tests
Canceling since a higher priority waiting request for Tests-eendebakpt-long_negate_decref exists
Tests
Canceling since a higher priority waiting request for Tests-eendebakpt-long_negate_decref exists
Tests
Canceling since a higher priority waiting request for Tests-eendebakpt-long_negate_decref exists
macOS (free-threading) / build and test (macos-14)
Already linked: /opt/homebrew/Cellar/tcl-tk/9.0.3
macOS (free-threading) / build and test (macos-14)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS (free-threading) / build and test (macos-14)
gdbm 1.26 is already installed and up-to-date. To reinstall 1.26, run: brew reinstall gdbm
macOS (free-threading) / build and test (macos-14)
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 (macos-14)
pkgconf 2.5.1 is already installed and up-to-date. To reinstall 2.5.1, run: brew reinstall pkgconf
macOS / build and test (macos-14)
Already linked: /opt/homebrew/Cellar/tcl-tk/9.0.3
macOS / build and test (macos-14)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-14)
gdbm 1.26 is already installed and up-to-date. To reinstall 1.26, run: brew reinstall gdbm
macOS / build and test (macos-14)
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-14)
pkgconf 2.5.1 is already installed and up-to-date. To reinstall 2.5.1, 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 / build and test (macos-15-intel)
Already linked: /usr/local/Cellar/tcl-tk/9.0.3
macOS / build and test (macos-15-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-15-intel)
gdbm 1.26 is already installed and up-to-date. To reinstall 1.26, run: brew reinstall gdbm
macOS / build and test (macos-15-intel)
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-15-intel)
pkgconf 2.5.1 is already installed and up-to-date. To reinstall 2.5.1, run: brew reinstall pkgconf
Windows (free-threading) / Build and test (x64): Objects/longobject.c#L360
'_long_is_small_int' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (x64): Objects/longobject.c#L360
'_long_is_small_int' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Objects/longobject.c#L360
'_long_is_small_int' undefined; assuming extern returning int [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (arm64): Objects/longobject.c#L360
'_long_is_small_int' undefined; assuming extern returning int [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64): Objects/longobject.c#L360
'_long_is_small_int' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (x64): Objects/longobject.c#L360
'_long_is_small_int' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64): Objects/longobject.c#L360
'_long_is_small_int' undefined; assuming extern returning int [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (arm64): Objects/longobject.c#L360
'_long_is_small_int' undefined; assuming extern returning int [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]

Artifacts

Produced during runtime
Name Size Digest
UBSan-logs-default
388 Bytes
sha256:c606a6e7552d78f98a67a56ed024012e2786f2f1e00b60ea0fc0ca548995f6c1