Skip to content

gh-145749: Optimize named exception blocks #199172

gh-145749: Optimize named exception blocks

gh-145749: Optimize named exception blocks #199172

Triggered via pull request July 1, 2026 02:08
Status Success
Total duration 28m 31s
Artifacts 2

build.yml

on: pull_request
Change detection  /  Create context from changed files
22s
Change detection / Create context from changed files
Matrix: Address sanitizer
Matrix: build-macos
Matrix: build-san
Matrix: Ubuntu SSL tests
Matrix: build-ubuntu
Matrix: build-windows-msi
Waiting for pending jobs
Matrix: build-windows
Matrix: cifuzz
Docs  /  Doctest
7m 51s
Docs / Doctest
Docs  /  Check EPUB
2m 25s
Docs / Check EPUB
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
4m 14s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
10s
C API Docs / Check if all C APIs are documented
iOS
17m 19s
iOS
Emscripten  /  build and test
17m 42s
Emscripten / build and test
WASI  /  build and test
5m 48s
WASI / build and test
Hypothesis tests on Ubuntu
9m 7s
Hypothesis tests on Ubuntu
Cross build Linux
4m 30s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
2m 5s
Docs / Check for removed HTML IDs / Check for removed HTML IDs
All required checks pass
3s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 13 warnings
Docs / Docs
Process completed with exit code 2.
Docs / Check EPUB
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)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-26)
The following taps are not trusted: aws/tap Homebrew is currently ignoring formulae, casks and commands from these taps because tap trust is required. Untap them with: brew untap aws/tap Trust specific formulae, casks and commands with: brew trust --formula <user>/<tap>/<formula> brew trust --cask <user>/<tap>/<cask> brew trust --command <user>/<tap>/<command> Whole-tap trust is broader and includes all current and future formulae, casks and commands from the listed taps. Trust whole taps with: brew trust aws/tap To disable trust checks: export HOMEBREW_NO_REQUIRE_TAP_TRUST=1 This is not recommended and will be removed in a later release. For more information, see: https://docs.brew.sh/Tap-Trust
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 (free-threading) / build and test (macos-26)
The following taps are not trusted: aws/tap Homebrew is currently ignoring formulae, casks and commands from these taps because tap trust is required. Untap them with: brew untap aws/tap Trust specific formulae, casks and commands with: brew trust --formula <user>/<tap>/<formula> brew trust --cask <user>/<tap>/<cask> brew trust --command <user>/<tap>/<command> Whole-tap trust is broader and includes all current and future formulae, casks and commands from the listed taps. Trust whole taps with: brew trust aws/tap To disable trust checks: export HOMEBREW_NO_REQUIRE_TAP_TRUST=1 This is not recommended and will be removed in a later release. For more information, see: https://docs.brew.sh/Tap-Trust
Windows (free-threading) / Build and test (x64, tail-call): Modules/_interpchannelsmodule.c#L2938
'function': conversion from 'int64_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (x64, tail-call): Modules/_interpchannelsmodule.c#L2938
'function': conversion from 'int64_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (x64, switch-case): Modules/_interpchannelsmodule.c#L2938
'function': conversion from 'int64_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (arm64, switch-case): Modules/_interpchannelsmodule.c#L2938
'function': conversion from 'int64_t' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
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-intel)
The following taps are not trusted: aws/tap Homebrew is currently ignoring formulae, casks and commands from these taps because tap trust is required. Untap them with: brew untap aws/tap Trust specific formulae, casks and commands with: brew trust --formula <user>/<tap>/<formula> brew trust --cask <user>/<tap>/<cask> brew trust --command <user>/<tap>/<command> Whole-tap trust is broader and includes all current and future formulae, casks and commands from the listed taps. Trust whole taps with: brew trust aws/tap To disable trust checks: export HOMEBREW_NO_REQUIRE_TAP_TRUST=1 This is not recommended and will be removed in a later release. For more information, see: https://docs.brew.sh/Tap-Trust
Windows (free-threading) / Build and test (arm64, switch-case): Modules/_interpchannelsmodule.c#L2938
'function': conversion from 'int64_t' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Modules/_interpchannelsmodule.c#L2938
'function': conversion from 'int64_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]

Artifacts

Produced during runtime
Name Size Digest
UBSan-logs-default
1.52 KB
sha256:955baac6162cb72232eb8f1e14a9cb16e3b92b85e493b87037d5733bbc87f54f
html-ids-head.json.gz
125 KB
sha256:0378e42ca6b8184ecf9f8ed492906237996e2e57d4ee6e5c573a44cf7ba4064f