Skip to content

[3.12] gh-77894: Fix a crash when the GC breaks a loop containing a memoryview (GH-123898)#123937

Merged
serhiy-storchaka merged 1 commit intopython:3.12from
serhiy-storchaka:backport-a1dbf2e-3.12
Sep 11, 2024
Merged

[3.12] gh-77894: Fix a crash when the GC breaks a loop containing a memoryview (GH-123898)#123937
serhiy-storchaka merged 1 commit intopython:3.12from
serhiy-storchaka:backport-a1dbf2e-3.12

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Sep 11, 2024

Now a memoryview object can only be cleared if there are no buffers that refer it.
(cherry picked from commit a1dbf2e)

…ng a memoryview (pythonGH-123898)

Now a memoryview object can only be cleared if there are no buffers
that refer it.
(cherry picked from commit a1dbf2e)

Co-authored-by: Serhiy Storchaka <[email protected]>
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