]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-111926: Simplify proxy creation logic (#116844)
authormpage <mpage@meta.com>
Fri, 15 Mar 2024 13:58:40 +0000 (06:58 -0700)
committerGitHub <noreply@github.com>
Fri, 15 Mar 2024 13:58:40 +0000 (09:58 -0400)
commitce2c996b2f645cd886d05f6ef8f1ba60ced7d4b7
tree2a5e7f8742e2913d69154d5142c3a40189cb5bfd
parent001b21d1c500857fb3721b019eeaf014b5ad76e8
gh-111926: Simplify proxy creation logic (#116844)

Since 3.12, allocating a GC-able object cannot trigger GC. This allows
us to simplify the logic for creating the canonical callback-less
proxy object.
Objects/weakrefobject.c