Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[3.8] bpo-38006: Clear weakrefs in garbage found by the GC (GH-16495) #16499

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

Merged
merged 1 commit into from
Sep 30, 2019

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Sep 30, 2019

Fix a bug due to the interaction of weakrefs and the cyclic garbage
collector. We must clear any weakrefs in garbage in order to prevent
their callbacks from executing and causing a crash.
(cherry picked from commit bcda460)

Co-authored-by: Neil Schemenauer [email protected]

https://bugs.python.org/issue38006

Fix a bug due to the interaction of weakrefs and the cyclic garbage
collector. We must clear any weakrefs in garbage in order to prevent
their callbacks from executing and causing a crash.
(cherry picked from commit bcda460)

Co-authored-by: Neil Schemenauer <[email protected]>
@bedevere-bot bedevere-bot added type-bug An unexpected behavior, bug, or error awaiting review labels Sep 30, 2019
@ambv ambv changed the title [3.8] Clear weakrefs in garbage found by the GC (GH-16495) [3.8] bpo-38006: Clear weakrefs in garbage found by the GC (GH-16495) Sep 30, 2019
@miss-islington
Copy link
Contributor Author

@nascheme and @ambv: Status check is done, and it's a success ✅ .

@ambv ambv merged commit 92ca515 into python:3.8 Sep 30, 2019
@bedevere-bot
Copy link

@ambv: Please replace # with GH- in the commit message next time. Thanks!

@miss-islington miss-islington deleted the backport-bcda460-3.8 branch September 30, 2019 17:27
@miss-islington
Copy link
Contributor Author

@nascheme and @ambv: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington
Copy link
Contributor Author

@nascheme and @ambv: Status check is done, and it's a success ✅ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants