Skip to content

gh-161282: Fix quadratic time in optparse when parsing many positional arguments #220174

gh-161282: Fix quadratic time in optparse when parsing many positional arguments

gh-161282: Fix quadratic time in optparse when parsing many positional arguments #220174

Triggered via pull request November 20, 2026 10:32
Status Success
Total duration 38m 9s
Artifacts 4

build.yml

on: pull_request
Change detection  /  Create context from changed files
17s
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
7m 8s
Docs / Doctest
Docs  /  Check EPUB
2m 22s
Docs / Check EPUB
Check if Autoconf files are up to date
24s
Check if Autoconf files are up to date
Check if generated files are up to date
4m 2s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
11s
C API Docs / Check if all C APIs are documented
Ubuntu (installed)  /  build, install and test
6m 0s
Ubuntu (installed) / build, install and test
Emscripten  /  build and test
15m 50s
Emscripten / build and test
WASI  /  build and test
4m 48s
WASI / build and test
Hypothesis tests on Ubuntu
10m 5s
Hypothesis tests on Ubuntu
Lazy imports enabled  /  Run Tests with lazy_imports=all
9m 57s
Lazy imports enabled / Run Tests with lazy_imports=all
Cross build Linux
9m 6s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
2m 7s
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, 4 warnings, and 5 notices
Docs / Check EPUB
Process completed with exit code 1.
Docs / Docs
Process completed with exit code 2.
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 (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!
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:41fe7e1e979e126861f9ce4d0c59a1e5ed373f2a3fa882a884a8cbab869b66c1
MSan-logs-default
209 Bytes
sha256:be7a9631c71f6f9e4b8617eb92c6741b90206a65f12e6f0ba69b9d5414740428
UBSan-logs-default
1.17 KB
sha256:551a8dc080e3d02001653dfa3422bd5a7fc334d49f4f07e40d81b6a1c7eed465
html-ids-head.json.gz
132 KB
sha256:a24682fd09b9656c399d4a1a1f8e29c73aa74bed9b6d663adb2e4f6f49387bed