Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gh-157378: Fix SyntaxError.offset for "Non-UTF-8 code" error #209261

gh-157378: Fix SyntaxError.offset for "Non-UTF-8 code" error

gh-157378: Fix SyntaxError.offset for "Non-UTF-8 code" error #209261

Triggered via pull request September 13, 2026 09:48
Status Failure
Total duration 34m 10s
Artifacts 3

build.yml

on: pull_request
Change detection  /  Create context from changed files
11s
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
Matrix: cifuzz
Docs  /  Doctest
7m 9s
Docs / Doctest
Docs  /  Check EPUB
2m 35s
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 30s
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
Ubuntu (installed)  /  build, install and test
5m 57s
Ubuntu (installed) / build, install and test
iOS
20m 52s
iOS
Emscripten  /  build and test
19m 9s
Emscripten / build and test
WASI  /  build and test
5m 18s
WASI / build and test
Hypothesis tests on Ubuntu
9m 58s
Hypothesis tests on Ubuntu
Cross build Linux
4m 39s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
1m 51s
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

4 errors, 7 warnings, and 2 notices
Docs / Docs
Process completed with exit code 2.
Docs / Check EPUB
Process completed with exit code 1.
Sanitizers / TSan
Process completed with exit code 2.
All required checks pass
Process completed with exit code 1.
Cross build Linux: Parser/lexer/string.c#L81
variable ‘previous_end’ set but not used [-Wunused-but-set-variable]
Ubuntu (installed) / build, install and test: Parser/lexer/string.c#L81
variable ‘previous_end’ set but not used [-Wunused-but-set-variable]
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!
Address sanitizer (ubuntu-26.04): Parser/lexer/string.c#L81
variable ‘previous_end’ set but not used [-Wunused-but-set-variable]
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)
"The windows-11-arm label will migrate to use Visual Studio 2026 by default beginning September 21, 2026. For more information see https://github.com/actions/runner-images/issues/14602"
Windows (free-threading) / Build and test (arm64, switch-case)
"The windows-11-arm label will migrate to use Visual Studio 2026 by default beginning September 21, 2026. For more information see https://github.com/actions/runner-images/issues/14602"

Artifacts

Produced during runtime
Name Size Digest
TSan-logs-default
2.05 KB
sha256:71ed643dff1465d700869fb8ba214dcaa0368130a335663e90f1e476c1262576
UBSan-logs-default
1.59 KB
sha256:7dca3d1d55404c683a8fdfc74bebd6f39f76788773435c20da5d42ac945d1c14
html-ids-head.json.gz
126 KB
sha256:f8aa656a3816fee69fe01a78a1dd68fe20d546d494226452b27157498ce0b449