Skip to content

[3.9] bpo-28737: Document when tp_dealloc should call PyObject_GC_UnTrack() (GH-29246) #29248

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
Oct 28, 2021

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Oct 27, 2021

Objects that support garbage collection ("container" objects) should
call PyObject_GC_UnTrack() from their destructors before clearing any
fields which may point to other "container" objects.
(cherry picked from commit 35e1ff3)

Co-authored-by: Sam Gross [email protected]

https://bugs.python.org/issue28737

…pythonGH-29246)

Objects that support garbage collection ("container" objects) should
call PyObject_GC_UnTrack() from their destructors before clearing any
fields which may point to other "container" objects.
(cherry picked from commit 35e1ff3)

Co-authored-by: Sam Gross <[email protected]>
@bedevere-bot bedevere-bot added the docs Documentation in the Doc dir label Oct 27, 2021
@miss-islington
Copy link
Contributor Author

@colesbury and @ambv: Status check is done, and it's a failure ❌ .

1 similar comment
@miss-islington
Copy link
Contributor Author

@colesbury and @ambv: Status check is done, and it's a failure ❌ .

@miss-islington
Copy link
Contributor Author

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

@colesbury colesbury requested a review from ambv October 28, 2021 16:39
@ambv ambv merged commit 193504a into python:3.9 Oct 28, 2021
@miss-islington miss-islington deleted the backport-35e1ff3-3.9 branch October 28, 2021 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants