diff options
| author | mpage <mpage@meta.com> | 2024-03-15 13:56:13 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-15 13:56:13 (GMT) |
| commit | 001b21d1c500857fb3721b019eeaf014b5ad76e8 (patch) | |
| tree | 0a7618952d1add449810b35ab19a38762d96cd43 /Lib/test/test_thread.py | |
| parent | 2cf18a44303b6d84faa8ecffaecc427b53ae121e (diff) | |
| download | cpython-001b21d1c500857fb3721b019eeaf014b5ad76e8.zip cpython-001b21d1c500857fb3721b019eeaf014b5ad76e8.tar.gz cpython-001b21d1c500857fb3721b019eeaf014b5ad76e8.tar.bz2 | |
gh-111926: Simplify weakref creation logic (#116843)
Since 3.12, allocating a GC object cannot immediately trigger GC. This
allows us to simplify the logic for creating the canonical callback-less
weakref.
Diffstat (limited to 'Lib/test/test_thread.py')
0 files changed, 0 insertions, 0 deletions
