Skip to content

gh-162644: Fix infinite recursion when pickling a weakref.ref subclass with protocol 0 or 1 #220935

gh-162644: Fix infinite recursion when pickling a weakref.ref subclass with protocol 0 or 1

gh-162644: Fix infinite recursion when pickling a weakref.ref subclass with protocol 0 or 1 #220935

Triggered via pull request November 26, 2026 06:51
Status Success
Total duration 37m 28s
Artifacts 4

build.yml

on: pull_request
Change detection  /  Create context from changed files
12s
Change detection / Create context from changed files
Matrix: build-ios
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
1m 54s
Docs / Check EPUB
Check if Autoconf files are up to date
35s
Check if Autoconf files are up to date
Check if generated files are up to date
4m 48s
Check if generated files are up to date
C API Docs  /  Check if all C APIs are documented
15s
C API Docs / Check if all C APIs are documented
Ubuntu (installed)  /  build, install and test
6m 24s
Ubuntu (installed) / build, install and test
Emscripten  /  build and test
17m 23s
Emscripten / build and test
WASI  /  build and test
4m 58s
WASI / build and test
Hypothesis tests on Ubuntu
9m 56s
Hypothesis tests on Ubuntu
Lazy imports enabled  /  Run Tests with lazy_imports=all
9m 14s
Lazy imports enabled / Run Tests with lazy_imports=all
Cross build Linux
4m 32s
Cross build Linux
Matrix: build-android
Docs  /  ...  /  Check for removed HTML IDs
1m 56s
Docs / Check for removed HTML IDs / Check for removed HTML IDs
All required checks pass
5s
All required checks pass
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 20 warnings, and 5 notices
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.
Windows / Build and test (x64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows / Build and test (x64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
Windows / Build and test (arm64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows / Build and test (arm64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
macOS / build and test (macos-26)
`$HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK` is set: not checking for outdated dependents or dependents with broken linkage!
Windows (free-threading) / Build and test (x64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows (free-threading) / Build and test (x64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_elementtree.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!
Windows (free-threading) / Build and test (arm64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows (free-threading) / Build and test (arm64, tail-call): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
Windows / Build and test (x64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
Windows / Build and test (x64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows / Build and test (arm64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
Windows / Build and test (arm64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
Windows (free-threading) / Build and test (x64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [D:\a\cpython\cpython\PCbuild\pyexpat.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, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\a\cpython\cpython\PCbuild\_elementtree.vcxproj]
Windows (free-threading) / Build and test (arm64, switch-case): Modules/expat/xmlparse.c#L9540
'=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\a\cpython\cpython\PCbuild\pyexpat.vcxproj]
Android (aarch64)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
macOS / build and test (macos-26)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
macOS (free-threading) / build and test (macos-26)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
iOS
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.
iOS (free-threading)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.

Artifacts

Produced during runtime
Name Size Digest
ASan-logs-default
2.5 KB
sha256:d100cb5248c7e2aa49f50dea4f386d3871028ff2096a56b9f26c47bb7e9c55a3
MSan-logs-default
209 Bytes
sha256:8bdf13f0a69649855184796ad3a049182ff08f28e4238651b014e0d59f0e0f16
UBSan-logs-default
1.17 KB
sha256:8edde7fe4cb8f3e25d0cb927a634cc68c49d0cd587a4a860970351a0cc4120c3
html-ids-head.json.gz
134 KB
sha256:2d007d6e358e301d755555835d4d63e47247d10c2924ac82104afb133870770d