Skip to content

Don't use the trashcan for gc=False structs - #369

Merged
jcrist merged 1 commit into
mainfrom
trashcan-only-works-with-gc-types
Apr 9, 2023
Merged

Don't use the trashcan for gc=False structs#369
jcrist merged 1 commit into
mainfrom
trashcan-only-works-with-gc-types

Conversation

@jcrist

@jcrist jcrist commented Apr 9, 2023

Copy link
Copy Markdown
Member

It's not well documented, but CPython's trashcan mechanism only works for GC types. As such, we drop the usage of the trashcan for Structs with gc=False.

It's not well documented, but CPython's trashcan mechanism only works
for GC types. As such, we drop the usage of the trashcan for Structs
with `gc=False`.
@jcrist
jcrist merged commit f352768 into main Apr 9, 2023
@jcrist
jcrist deleted the trashcan-only-works-with-gc-types branch April 9, 2023 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant