Skip to content

gh-143005: prevent incompatible __class__ reassignment for ctypes arrays #192184

gh-143005: prevent incompatible __class__ reassignment for ctypes arrays

gh-143005: prevent incompatible __class__ reassignment for ctypes arrays #192184

Triggered via pull request May 11, 2026 14:30
Status Success
Total duration 28m 57s
Artifacts 2

build.yml

on: pull_request
Change detection  /  Create context from changed files
21s
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
Docs  /  Doctest
7m 32s
Docs / Doctest
Docs  /  Check EPUB
2m 15s
Docs / Check EPUB
Check if Autoconf files are up to date
33s
Check if Autoconf files are up to date
Check if generated files are up to date
4m 23s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
12s
C API Docs / Check if all C APIs are documented
iOS
20m 58s
iOS
Emscripten  /  build and test
17m 19s
Emscripten / build and test
WASI  /  build and test
5m 32s
WASI / build and test
Hypothesis tests on Ubuntu
7m 54s
Hypothesis tests on Ubuntu
Cross build Linux
4m 20s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
1m 58s
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 and 35 warnings
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)
Already linked: /opt/homebrew/Cellar/tcl-tk/9.0.3
macOS / build and test (macos-26)
openssl@3.5 was installed but not linked because openssl@3 and openssl@3 are already linked. To link this version, run: brew link openssl@3.5
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)
gdbm 1.26 is already installed and up-to-date. To reinstall 1.26, run: brew reinstall gdbm
macOS / build and test (macos-26)
xz 5.8.3 is already installed and up-to-date. To reinstall 5.8.3, run: brew reinstall xz
macOS / build and test (macos-26)
pkgconf 2.5.1 is already installed and up-to-date. To reinstall 2.5.1, run: brew reinstall pkgconf
macOS (free-threading) / build and test (macos-26)
Already linked: /opt/homebrew/Cellar/tcl-tk/9.0.3
macOS (free-threading) / build and test (macos-26)
openssl@3.5 was installed but not linked because openssl@3 and openssl@3 are already linked. To link this version, run: brew link openssl@3.5
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)
gdbm 1.26 is already installed and up-to-date. To reinstall 1.26, run: brew reinstall gdbm
macOS (free-threading) / build and test (macos-26)
xz 5.8.3 is already installed and up-to-date. To reinstall 5.8.3, run: brew reinstall xz
macOS (free-threading) / build and test (macos-26)
pkgconf 2.5.1 is already installed and up-to-date. To reinstall 2.5.1, run: brew reinstall pkgconf
Windows / Build and test (x64, switch-case): Modules/_testinternalcapi/test_cases.c.h#L13059
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\_testinternalcapi.vcxproj]
Windows / Build and test (x64, switch-case): Modules/_testinternalcapi/test_cases.c.h#L7949
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\_testinternalcapi.vcxproj]
Windows / Build and test (x64, switch-case): Python/generated_cases.c.h#L13056
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (x64, switch-case): Python/generated_cases.c.h#L7948
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (arm64, switch-case): Modules/_testinternalcapi/test_cases.c.h#L13059
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\_testinternalcapi.vcxproj]
Windows / Build and test (arm64, switch-case): Modules/_testinternalcapi/test_cases.c.h#L7949
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\_testinternalcapi.vcxproj]
Windows / Build and test (arm64, switch-case): Python/generated_cases.c.h#L13056
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows / Build and test (arm64, switch-case): Python/generated_cases.c.h#L7948
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
macOS / build and test (macos-15-intel)
Already linked: /usr/local/Cellar/tcl-tk/9.0.3
macOS / build and test (macos-15-intel)
openssl@3.5 was installed but not linked because openssl@3 is already linked. To link this version, run: brew link openssl@3.5
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)
gdbm 1.26 is already installed and up-to-date. To reinstall 1.26, run: brew reinstall gdbm
macOS / build and test (macos-15-intel)
xz 5.8.3 is already installed and up-to-date. To reinstall 5.8.3, run: brew reinstall xz
macOS / build and test (macos-15-intel)
pkgconf 2.5.1 is already installed and up-to-date. To reinstall 2.5.1, run: brew reinstall pkgconf
Windows (free-threading) / Build and test (arm64, switch-case): Modules/_testinternalcapi/test_cases.c.h#L13059
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\_testinternalcapi.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Modules/_testinternalcapi/test_cases.c.h#L7949
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\_testinternalcapi.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Python/generated_cases.c.h#L13056
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Python/generated_cases.c.h#L7948
'initializing': conversion from '__int64' to 'int', possible loss of data [C:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Modules/_testinternalcapi/test_cases.c.h#L13059
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\_testinternalcapi.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Modules/_testinternalcapi/test_cases.c.h#L7949
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\_testinternalcapi.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Python/generated_cases.c.h#L13056
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Python/generated_cases.c.h#L7948
'initializing': conversion from '__int64' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]

Artifacts

Produced during runtime
Name Size Digest
UBSan-logs-default
1.54 KB
sha256:d72dead9086624e92c985d1411eac451235406e2ddae8a4a75efd6840375c7c4
html-ids-head.json.gz
119 KB
sha256:f86a55f62c5ccddcb78ad84d7c5207631614ce182d46b226828f5c43bdfcbec7