Skip to content

[3.14] gh-157048: check for buffer errors before mutating in BytesIO.__init__ (GH-157049) #208568

[3.14] gh-157048: check for buffer errors before mutating in BytesIO.__init__ (GH-157049)

[3.14] gh-157048: check for buffer errors before mutating in BytesIO.__init__ (GH-157049) #208568

Triggered via pull request September 7, 2026 15:29
Status Success
Total duration 26m 52s
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
2m 10s
Docs / Docs
Docs  /  Doctest
7m 5s
Docs / Doctest
Docs  /  Check EPUB
2m 13s
Docs / Check EPUB
Check if Autoconf files are up to date
30s
Check if Autoconf files are up to date
Check if generated files are up to date
4m 12s
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 48s
Ubuntu (installed) / build, install and test
iOS
19m 33s
iOS
Emscripten  /  build and test
20m 21s
Emscripten / build and test
WASI  /  build and test
7m 46s
WASI / build and test
Hypothesis tests on Ubuntu
8m 18s
Hypothesis tests on Ubuntu
Cross build Linux
4m 37s
Cross build Linux
Check if the ABI has changed
1m 43s
Check if the ABI has changed
Matrix: build-android
All required checks pass
3s
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!
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): 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 / 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 (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 (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]
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:1edb5fbe333f4c4856b35169ccd51ad6511906d1becb7df0aa944d61fbd3ecff