Skip to content

[3.14] gh-157378: Fix SyntaxError.offset for "Non-UTF-8 code" error (GH-157412) #209425

[3.14] gh-157378: Fix SyntaxError.offset for "Non-UTF-8 code" error (GH-157412)

[3.14] gh-157378: Fix SyntaxError.offset for "Non-UTF-8 code" error (GH-157412) #209425

Triggered via pull request September 14, 2026 12:14
Status Success
Total duration 26m 47s
Artifacts 1

build.yml

on: pull_request
Change detection  /  Create context from changed files
10s
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
Waiting for pending jobs
Docs  /  Docs
1m 49s
Docs / Docs
Docs  /  Doctest
6m 13s
Docs / Doctest
Docs  /  Check EPUB
2m 18s
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
4m 1s
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 25s
Ubuntu (installed) / build, install and test
iOS
21m 54s
iOS
Emscripten  /  build and test
20m 37s
Emscripten / build and test
WASI  /  build and test
7m 48s
WASI / build and test
Hypothesis tests on Ubuntu
7m 58s
Hypothesis tests on Ubuntu
Cross build Linux
4m 28s
Cross build Linux
Check if the ABI has changed
1m 37s
Check if the ABI has changed
Matrix: build-android
All required checks pass
4s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 16 warnings, and 2 notices
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 (free-threading) / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
Windows / Build and test (x64): Modules/unicodedata.c#L1569
'function': conversion from 'size_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\unicodedata.vcxproj]
Windows / Build and test (x64): Python/generated_cases.c.h#L12359
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (x64): Python/generated_cases.c.h#L7662
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (arm64): Modules/unicodedata.c#L1569
'function': conversion from 'size_t' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\unicodedata.vcxproj]
Windows / Build and test (arm64): Python/generated_cases.c.h#L12359
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (arm64): Python/generated_cases.c.h#L7662
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (x64): Modules/unicodedata.c#L1569
'function': conversion from 'size_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\unicodedata.vcxproj]
Windows (free-threading) / Build and test (x64): Python/generated_cases.c.h#L12359
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (x64): Python/generated_cases.c.h#L7662
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\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!
Windows (free-threading) / Build and test (arm64): Modules/unicodedata.c#L1569
'function': conversion from 'size_t' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\unicodedata.vcxproj]
Windows (free-threading) / Build and test (arm64): Python/generated_cases.c.h#L12359
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (arm64): Python/generated_cases.c.h#L7662
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (arm64)
"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)
"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
UBSan-logs-default
1.55 KB
sha256:82fd088140d80a3a6cf38af4b22a5acb6557fd6059e89898e3648512810d43f7