Skip to content

gh-161004: Align Python implementation of functools.reduce with C implementation #217362

gh-161004: Align Python implementation of functools.reduce with C implementation

gh-161004: Align Python implementation of functools.reduce with C implementation #217362

Triggered via pull request October 31, 2026 18:49
Status Failure
Total duration 31m 25s
Artifacts 4

build.yml

on: pull_request
Change detection  /  Create context from changed files
12s
Change detection / Create context from changed files
Matrix: build-ios
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests
Matrix: build-ubuntu
Matrix: build-windows
Matrix: cifuzz
Waiting for pending jobs
Docs  /  Doctest
6m 47s
Docs / Doctest
Docs  /  Check EPUB
2m 27s
Docs / Check EPUB
Check if Autoconf files are up to date
26s
Check if Autoconf files are up to date
Check if generated files are up to date
4m 38s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
12s
C API Docs / Check if all C APIs are documented
Ubuntu (installed)  /  build, install and test
5m 59s
Ubuntu (installed) / build, install and test
Emscripten  /  build and test
18m 23s
Emscripten / build and test
WASI  /  build and test
4m 38s
WASI / build and test
Hypothesis tests on Ubuntu
10m 41s
Hypothesis tests on Ubuntu
Lazy imports enabled  /  Run Tests with lazy_imports=all
8m 13s
Lazy imports enabled / Run Tests with lazy_imports=all
Cross build Linux
4m 44s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
2m 10s
Docs / Check for removed HTML IDs / Check for removed HTML IDs
All required checks pass
2s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

13 errors, 4 warnings, and 11 notices
Docs / Docs
Process completed with exit code 2.
Docs / Check EPUB
Process completed with exit code 1.
Emscripten / build and test
Process completed with exit code 2.
test_traceback_very_long_line (test.test_traceback.PurePythonTracebackErrorCaretTests.test_traceback_very_long_line): Lib/test/test_traceback.py#L1320
AssertionError: Lists differ: ['Tra[175 chars]ile "/home/runner/work/cpython/cpython/Lib/fun[731 chars]^^^'] != ['Tra[175 chars]ile "@test_42_tmpæ", line 1, in <module>', ' [537 chars]^^^'] First differing element 4: ' File "/home/runner/work/cpython/cpython/Lib/fun[29 chars]ll__' ' File "@test_42_tmpæ", line 1, in <module>' First list contains 3 additional elements. First extra element 7: ' File "@test_42_tmpæ", line 1, in <module>' Diff is 1016 characters long. Set self.maxDiff to None to see it.
test_traceback_specialization_with_syntax_error (test.test_traceback.PurePythonTracebackErrorCaretTests.test_traceback_specialization_with_syntax_error): Lib/test/test_traceback.py#L1297
AssertionError: Lists differ: ['Tra[175 chars]ile "/home/runner/work/cpython/cpython/Lib/fun[219 chars]^^^'] != ['Tra[175 chars]ile "@test_42_tmpæ", line 1, in <module>', ' [25 chars]^^^'] First differing element 4: ' File "/home/runner/work/cpython/cpython/Lib/fun[29 chars]ll__' ' File "@test_42_tmpæ", line 1, in <module>' First list contains 3 additional elements. First extra element 7: ' File "@test_42_tmpæ", line 1, in <module>' ['Traceback (most recent call last):', ' File "/home/runner/work/cpython/cpython/Lib/test/test_traceback.py", line ' '639, in get_exception', ' callable()', ' ~~~~~~~~^^', - ' File "/home/runner/work/cpython/cpython/Lib/functools.py", line 402, in ' - '__call__', - ' return self.func(*pto_args, *args, **keywords)', - ' ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^', ' File "@test_42_tmpæ", line 1, in <module>', ' 1 $ 0 / 1 / 2', ' ^^^^^']
test_traceback_very_long_line (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_traceback_very_long_line): Lib/test/test_traceback.py#L1320
AssertionError: Lists differ: ['Tra[175 chars]ile "/home/runner/work/cpython/cpython/Lib/fun[731 chars]^^^'] != ['Tra[175 chars]ile "@test_42_tmpæ", line 1, in <module>', ' [537 chars]^^^'] First differing element 4: ' File "/home/runner/work/cpython/cpython/Lib/fun[29 chars]ll__' ' File "@test_42_tmpæ", line 1, in <module>' First list contains 3 additional elements. First extra element 7: ' File "@test_42_tmpæ", line 1, in <module>' Diff is 1016 characters long. Set self.maxDiff to None to see it.
test_traceback_specialization_with_syntax_error (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_traceback_specialization_with_syntax_error): Lib/test/test_traceback.py#L1297
AssertionError: Lists differ: ['Tra[175 chars]ile "/home/runner/work/cpython/cpython/Lib/fun[219 chars]^^^'] != ['Tra[175 chars]ile "@test_42_tmpæ", line 1, in <module>', ' [25 chars]^^^'] First differing element 4: ' File "/home/runner/work/cpython/cpython/Lib/fun[29 chars]ll__' ' File "@test_42_tmpæ", line 1, in <module>' First list contains 3 additional elements. First extra element 7: ' File "@test_42_tmpæ", line 1, in <module>' ['Traceback (most recent call last):', ' File "/home/runner/work/cpython/cpython/Lib/test/test_traceback.py", line ' '654, in get_exception', ' callable()', ' ~~~~~~~~^^', - ' File "/home/runner/work/cpython/cpython/Lib/functools.py", line 402, in ' - '__call__', - ' return self.func(*pto_args, *args, **keywords)', - ' ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^', ' File "@test_42_tmpæ", line 1, in <module>', ' 1 $ 0 / 1 / 2', ' ^^^^^']
test_traceback_very_long_line (test.test_traceback.CPythonTracebackErrorCaretTests.test_traceback_very_long_line): Lib/test/test_traceback.py#L1320
AssertionError: Lists differ: ['Tra[175 chars]ile "/home/runner/work/cpython/cpython/Lib/fun[731 chars]^^^'] != ['Tra[175 chars]ile "@test_42_tmpæ", line 1, in <module>', ' [537 chars]^^^'] First differing element 4: ' File "/home/runner/work/cpython/cpython/Lib/fun[29 chars]ll__' ' File "@test_42_tmpæ", line 1, in <module>' First list contains 3 additional elements. First extra element 7: ' File "@test_42_tmpæ", line 1, in <module>' Diff is 1016 characters long. Set self.maxDiff to None to see it.
test_traceback_specialization_with_syntax_error (test.test_traceback.CPythonTracebackErrorCaretTests.test_traceback_specialization_with_syntax_error): Lib/test/test_traceback.py#L1297
AssertionError: Lists differ: ['Tra[175 chars]ile "/home/runner/work/cpython/cpython/Lib/fun[219 chars]^^^'] != ['Tra[175 chars]ile "@test_42_tmpæ", line 1, in <module>', ' [25 chars]^^^'] First differing element 4: ' File "/home/runner/work/cpython/cpython/Lib/fun[29 chars]ll__' ' File "@test_42_tmpæ", line 1, in <module>' First list contains 3 additional elements. First extra element 7: ' File "@test_42_tmpæ", line 1, in <module>' ['Traceback (most recent call last):', ' File "/home/runner/work/cpython/cpython/Lib/test/test_traceback.py", line ' '654, in get_exception', ' callable()', ' ~~~~~~~~^^', - ' File "/home/runner/work/cpython/cpython/Lib/functools.py", line 402, in ' - '__call__', - ' return self.func(*pto_args, *args, **keywords)', - ' ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^', ' File "@test_42_tmpæ", line 1, in <module>', ' 1 $ 0 / 1 / 2', ' ^^^^^']
Android (x86_64)
Process completed with exit code 1.
iOS
Process completed with exit code 1.
iOS (free-threading)
Process completed with exit code 1.
All required checks pass
Process completed with exit code 1.
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 (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-26-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
Change detection / Create context from changed files
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
C API Docs / Check if all C APIs are documented
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Docs / Docs
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Docs / Check EPUB
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Docs / Check for removed HTML IDs / Check for removed HTML IDs
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Android (aarch64)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
macOS (free-threading) / build and test (macos-26)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
macOS / build and test (macos-26)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
iOS
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
iOS (free-threading)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
All required checks pass
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"

Artifacts

Produced during runtime
Name Size Digest
ASan-logs-default
2.49 KB
sha256:1b70e9bc853898608be577a4ba7810046000f6edd4ed0f04898a158e5a4129f1
MSan-logs-default
209 Bytes
sha256:c5585491aa9f8d0c45b3d6483710edc3f316143d3d9b001457abcd6ca89573d4
UBSan-logs-default
1.17 KB
sha256:b590e0263f593b1d60efd3a5849823cad84c73925741a2d3f0a47bbce62c3e06
html-ids-head.json.gz
132 KB
sha256:74941621c0841e5ee81c447c34206e9a846e3332eb6f01c5bffe7a73ecd76455