Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

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]>
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) September 11, 2024 09:16
@serhiy-storchaka serhiy-storchaka merged commit 90e5bd7 into python:3.12 Sep 11, 2024
29 checks passed
@serhiy-storchaka serhiy-storchaka deleted the backport-a1dbf2e-3.12 branch October 21, 2024 13:42
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