Skip to content

Conversation

@mpage
Copy link
Contributor

@mpage mpage commented Mar 14, 2024

As of 3.12, allocation no longer triggers GC. This allows us to stop having to recompute the "canonical" callback-less ref post allocation.

@mpage mpage force-pushed the gh-111926-simplify-weakref-creation branch 2 times, most recently from 4944b5f to eb7f65d Compare March 14, 2024 21:57
Since 3.12 allocating a GC object cannot immediately trigger GC.
@mpage mpage force-pushed the gh-111926-simplify-weakref-creation branch from ac0e684 to fed6df3 Compare March 14, 2024 22:38
@mpage mpage closed this Mar 14, 2024
@mpage mpage deleted the gh-111926-simplify-weakref-creation branch March 14, 2024 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant