Skip to content

gh-161004: Fixed functools.reduce where it calls iter() twice #217341

gh-161004: Fixed functools.reduce where it calls iter() twice

gh-161004: Fixed functools.reduce where it calls iter() twice #217341

Triggered via pull request October 31, 2026 16:18
Status Failure
Total duration 35m 1s
Artifacts 4

build.yml

on: pull_request
Change detection  /  Create context from changed files
13s
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 55s
Docs / Doctest
Docs  /  Check EPUB
2m 9s
Docs / Check EPUB
Check if Autoconf files are up to date
28s
Check if Autoconf files are up to date
Check if generated files are up to date
3m 53s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
7s
C API Docs / Check if all C APIs are documented
Ubuntu (installed)  /  build, install and test
5m 56s
Ubuntu (installed) / build, install and test
Emscripten  /  build and test
18m 8s
Emscripten / build and test
WASI  /  build and test
4m 33s
WASI / build and test
Hypothesis tests on Ubuntu
11m 4s
Hypothesis tests on Ubuntu
Lazy imports enabled  /  Run Tests with lazy_imports=all
9m 49s
Lazy imports enabled / Run Tests with lazy_imports=all
Cross build Linux
5m 6s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
2m 13s
Docs / Check for removed HTML IDs / Check for removed HTML IDs
All required checks pass
4s
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.
iOS
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 403, 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 403, 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 403, 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 (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 / build and test (macos-26-intel)
`$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 (free-threading) / build and test (macos-26)
`$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 / build and test (macos-26)
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.
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.5 KB
sha256:6a488190fd8adbb5783d1594be88382b129ea80b7290ca3d22678e1e274a6a06
MSan-logs-default
209 Bytes
sha256:9a20d72666a34dfa5646aed563c995493d7529228191102a4fa55fdd762d45dc
UBSan-logs-default
1.5 KB
sha256:49d0560dca4e2b3be5afb869b754131be33aeb0df182efc7e5c1540d2248405b
html-ids-head.json.gz
132 KB
sha256:bd5deb47893e7fb080aabe8170a16dabb2344db77a54353ba5383b58573f4558