Skip to content

[3.14] gh-151461: Fix encoding-related exception handling in file tokenizer (GH-151462) #196481

[3.14] gh-151461: Fix encoding-related exception handling in file tokenizer (GH-151462)

[3.14] gh-151461: Fix encoding-related exception handling in file tokenizer (GH-151462) #196481

Triggered via pull request June 14, 2026 12:39
Status Failure
Total duration 3m 48s
Artifacts 1

build.yml

on: pull_request
Change detection  /  Create context from changed files
13s
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 59s
Docs / Docs
Docs  /  Doctest
59s
Docs / Doctest
Docs  /  Check EPUB
2m 21s
Docs / Check EPUB
Check if Autoconf files are up to date
37s
Check if Autoconf files are up to date
Check if generated files are up to date
59s
Check if generated files are up to date
iOS
57s
iOS
Emscripten  /  build and test
43s
Emscripten / build and test
WASI  /  build and test
38s
WASI / build and test
Hypothesis tests on Ubuntu
1m 0s
Hypothesis tests on Ubuntu
Cross build Linux
57s
Cross build Linux
Check if the ABI has changed
1m 0s
Check if the ABI has changed
Matrix: build-android
All required checks pass
2s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

43 errors and 23 warnings
Android (x86_64)
Process completed with exit code 1.
WASI / build and test
Process completed with exit code 1.
Emscripten / build and test
Process completed with exit code 1.
Ubuntu SSL tests (ubuntu-24.04, openssl, 3.6.3)
Process completed with exit code 2.
Windows / Build and test (Win32)
Process completed with exit code 1.
Ubuntu SSL tests (ubuntu-24.04, openssl, 3.4.6)
Process completed with exit code 2.
Ubuntu SSL tests (ubuntu-24.04, openssl, 3.0.21)
Process completed with exit code 2.
Cross build Linux
Process completed with exit code 2.
Cross build Linux: Parser/tokenizer/helpers.c#L186
implicit declaration of function ‘_PyTuple_FromPair’; did you mean ‘_PyTuple_FromArray’? [-Werror=implicit-function-declaration]
Windows (free-threading) / Build and test (x64)
Process completed with exit code 1.
Ubuntu SSL tests (ubuntu-24.04, openssl, 1.1.1w)
Process completed with exit code 2.
iOS
Process completed with exit code 1.
Check if generated files are up to date
Process completed with exit code 2.
Ubuntu SSL tests (ubuntu-24.04, openssl, 3.5.7)
Process completed with exit code 2.
Android (aarch64)
Process completed with exit code 1.
Check if the ABI has changed
Process completed with exit code 2.
Hypothesis tests on Ubuntu
Process completed with exit code 2.
Hypothesis tests on Ubuntu: Parser/tokenizer/helpers.c#L186
implicit declaration of function ‘_PyTuple_FromPair’; did you mean ‘_PyTuple_FromArray’? [-Werror=implicit-function-declaration]
Docs / Doctest
Process completed with exit code 2.
Windows / Build and test (x64)
Process completed with exit code 1.
macOS (free-threading) / build and test (macos-26)
Process completed with exit code 2.
macOS / build and test (macos-26)
Process completed with exit code 2.
Address sanitizer (ubuntu-24.04)
Process completed with exit code 2.
Address sanitizer (ubuntu-24.04): Parser/tokenizer/helpers.c#L186
implicit declaration of function ‘_PyTuple_FromPair’; did you mean ‘_PyTuple_FromArray’? [-Werror=implicit-function-declaration]
Ubuntu / build and test (ubuntu-24.04)
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-24.04): Parser/tokenizer/helpers.c#L186
implicit declaration of function ‘_PyTuple_FromPair’; did you mean ‘_PyTuple_FromArray’? [-Werror=implicit-function-declaration]
Ubuntu / build and test (ubuntu-24.04-arm)
Process completed with exit code 2.
Ubuntu / build and test (ubuntu-24.04-arm): Parser/tokenizer/helpers.c#L186
implicit declaration of function ‘_PyTuple_FromPair’; did you mean ‘_PyTuple_FromArray’? [-Werror=implicit-function-declaration]
Windows / Build and test (arm64)
Process completed with exit code 1.
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm)
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm): Parser/tokenizer/helpers.c#L186
implicit declaration of function ‘_PyTuple_FromPair’; did you mean ‘_PyTuple_FromArray’? [-Werror=implicit-function-declaration]
Sanitizers / UBSan
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-24.04)
Process completed with exit code 2.
Ubuntu (free-threading) / build and test (ubuntu-24.04): Parser/tokenizer/helpers.c#L186
implicit declaration of function ‘_PyTuple_FromPair’; did you mean ‘_PyTuple_FromArray’? [-Werror=implicit-function-declaration]
Ubuntu (bolt) / build and test (ubuntu-24.04)
Process completed with exit code 2.
Ubuntu (bolt) / build and test (ubuntu-24.04): Parser/tokenizer/helpers.c#L186
implicit declaration of function ‘_PyTuple_FromPair’; did you mean ‘_PyTuple_FromArray’? [-Werror=implicit-function-declaration]
Sanitizers / TSan (free-threading)
Process completed with exit code 2.
Sanitizers / TSan
Process completed with exit code 2.
Docs / Docs
Process completed with exit code 2.
Windows (free-threading) / Build and test (arm64)
Process completed with exit code 1.
Docs / Check EPUB
Process completed with exit code 1.
macOS / build and test (macos-15-intel)
Process completed with exit code 2.
All required checks pass
Process completed with exit code 1.
Cross build Linux: Parser/tokenizer/helpers.c#L186
assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
Windows (free-threading) / Build and test (x64): Parser/tokenizer/helpers.c#L186
'=': 'PyObject *' differs in levels of indirection from 'int' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (x64): Parser/tokenizer/helpers.c#L186
'_PyTuple_FromPair' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_freeze_module.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.
Hypothesis tests on Ubuntu: Parser/tokenizer/helpers.c#L186
assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
Windows / Build and test (x64): Parser/tokenizer/helpers.c#L186
'=': 'PyObject *' differs in levels of indirection from 'int' [D:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (x64): Parser/tokenizer/helpers.c#L186
'_PyTuple_FromPair' undefined; assuming extern returning int [D:\a\cpython\cpython\PCbuild\_freeze_module.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 (free-threading) / build and test (macos-26)
The following taps are not trusted: aws/tap azure/bicep Homebrew will ignore formulae, casks and commands from these taps when `HOMEBREW_REQUIRE_TAP_TRUST` is set. This will become the default in Homebrew 6.0.0 or 5.2.0, whichever comes first. Enable trust checks now with: export HOMEBREW_REQUIRE_TAP_TRUST=1 Trust specific formulae, casks or commands with: brew trust --formula <user>/<tap>/<formula> brew trust --cask <user>/<tap>/<cask> brew trust --command <user>/<tap>/<command> or trust installed formulae from these taps with: brew trust --formula azure/bicep/bicep You can trust all formulae, casks and commands from these taps with: brew trust aws/tap azure/bicep Prefer trusting only the specific formulae, casks or commands you need. Untap them with: brew untap aws/tap azure/bicep To keep allowing them by default during the transition: export HOMEBREW_NO_REQUIRE_TAP_TRUST=1 This is not recommended and will be removed in a later release.
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 azure/bicep Homebrew will ignore formulae, casks and commands from these taps when `HOMEBREW_REQUIRE_TAP_TRUST` is set. This will become the default in Homebrew 6.0.0 or 5.2.0, whichever comes first. Enable trust checks now with: export HOMEBREW_REQUIRE_TAP_TRUST=1 Trust specific formulae, casks or commands with: brew trust --formula <user>/<tap>/<formula> brew trust --cask <user>/<tap>/<cask> brew trust --command <user>/<tap>/<command> or trust installed formulae from these taps with: brew trust --formula azure/bicep/bicep You can trust all formulae, casks and commands from these taps with: brew trust aws/tap azure/bicep Prefer trusting only the specific formulae, casks or commands you need. Untap them with: brew untap aws/tap azure/bicep To keep allowing them by default during the transition: export HOMEBREW_NO_REQUIRE_TAP_TRUST=1 This is not recommended and will be removed in a later release.
Address sanitizer (ubuntu-24.04): Parser/tokenizer/helpers.c#L186
assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
Ubuntu / build and test (ubuntu-24.04): Parser/tokenizer/helpers.c#L186
assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
Ubuntu / build and test (ubuntu-24.04-arm): Parser/tokenizer/helpers.c#L186
assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
Windows / Build and test (arm64): Parser/tokenizer/helpers.c#L186
'=': 'PyObject *' differs in levels of indirection from 'int' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows / Build and test (arm64): Parser/tokenizer/helpers.c#L186
'_PyTuple_FromPair' undefined; assuming extern returning int [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm): Parser/tokenizer/helpers.c#L186
assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
Ubuntu (free-threading) / build and test (ubuntu-24.04): Parser/tokenizer/helpers.c#L186
assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
Ubuntu (bolt) / build and test (ubuntu-24.04): Parser/tokenizer/helpers.c#L186
assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
Windows (free-threading) / Build and test (arm64): Parser/tokenizer/helpers.c#L186
'=': 'PyObject *' differs in levels of indirection from 'int' [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
Windows (free-threading) / Build and test (arm64): Parser/tokenizer/helpers.c#L186
'_PyTuple_FromPair' undefined; assuming extern returning int [C:\a\cpython\cpython\PCbuild\_freeze_module.vcxproj]
macOS / build and test (macos-15-intel)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
macOS / build and test (macos-15-intel)
The following taps are not trusted: aws/tap azure/bicep Homebrew will ignore formulae, casks and commands from these taps when `HOMEBREW_REQUIRE_TAP_TRUST` is set. This will become the default in Homebrew 6.0.0 or 5.2.0, whichever comes first. Enable trust checks now with: export HOMEBREW_REQUIRE_TAP_TRUST=1 Trust specific formulae, casks or commands with: brew trust --formula <user>/<tap>/<formula> brew trust --cask <user>/<tap>/<cask> brew trust --command <user>/<tap>/<command> or trust installed formulae from these taps with: brew trust --formula azure/bicep/bicep You can trust all formulae, casks and commands from these taps with: brew trust aws/tap azure/bicep Prefer trusting only the specific formulae, casks or commands you need. Untap them with: brew untap aws/tap azure/bicep To keep allowing them by default during the transition: export HOMEBREW_NO_REQUIRE_TAP_TRUST=1 This is not recommended and will be removed in a later release.

Artifacts

Produced during runtime
Name Size Digest
UBSan-logs-default
387 Bytes
sha256:2dae3619a9b865fd0869ddd0b6b673e12a4f8306f804ddb03a26df8b49b1c711