Skip to content

gh-72902: improve Fraction(str) speed #221414

gh-72902: improve Fraction(str) speed

gh-72902: improve Fraction(str) speed #221414

Triggered via pull request November 30, 2026 20:24
Status Success
Total duration 49m 17s
Artifacts 4

build.yml

on: pull_request
Change detection  /  Create context from changed files
33s
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 20s
Docs / Doctest
Docs  /  Check EPUB
1m 50s
Docs / Check EPUB
Check if Autoconf files are up to date
31s
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
6m 16s
Ubuntu (installed) / build, install and test
Emscripten  /  build and test
12m 36s
Emscripten / build and test
WASI  /  build and test
5m 18s
WASI / build and test
Hypothesis tests on Ubuntu
9m 14s
Hypothesis tests on Ubuntu
Lazy imports enabled  /  Run Tests with lazy_imports=all
12m 34s
Lazy imports enabled / Run Tests with lazy_imports=all
Cross build Linux
5m 17s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
2m 21s
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

2 errors, 20 warnings, and 5 notices
Docs / Check EPUB
Process completed with exit code 1.
Docs / Docs
Process completed with exit code 2.
Windows / Build and test (x64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows / Build and test (x64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
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!
Windows (free-threading) / Build and test (x64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows (free-threading) / Build and test (x64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
Windows / Build and test (arm64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows / Build and test (arm64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
Windows (free-threading) / Build and test (arm64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows (free-threading) / Build and test (arm64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
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-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
Windows / Build and test (arm64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
Windows / Build and test (arm64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows / Build and test (x64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows / Build and test (x64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
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.

Artifacts

Produced during runtime
Name Size Digest
ASan-logs-default
2.5 KB
sha256:16f72656811d1524649f677453d0e81e5c9c80b8cfa783ce7066917649c50dd8
MSan-logs-default
209 Bytes
sha256:e10ccb5e23a2afa687fd1768d36a6713e28f2fd7a02986d3fe1bec24055a89d3
UBSan-logs-default
1.17 KB
sha256:9e998dd4dd9df9b2abfe48bff46f0eb546e082b45680c88a0557288add49f3a8
html-ids-head.json.gz
134 KB
sha256:ac9e230760f17a3dd4cedd395612adf0538e524ad064e2ae7e8a607ace10433e