Skip to content

gh-116935: Document that heap types need to support garbage collection - #118021

Merged
encukou merged 8 commits into
python:mainfrom
savannahostrowski:fix-116935
Apr 19, 2024
Merged

gh-116935: Document that heap types need to support garbage collection#118021
encukou merged 8 commits into
python:mainfrom
savannahostrowski:fix-116935

Conversation

@savannahostrowski

@savannahostrowskisavannahostrowski commented Apr 18, 2024

Copy link
Copy Markdown
Member

@encukou

Copy link
Copy Markdown
Member

Thank you for the addition!
Could you please add a link to Supporting Cyclic Garbage Collection, so readers can learn about the details if they don't already know them?

Comment threadDoc/c-api/typeobj.rst Outdated

@JelleZijlstraJelleZijlstra left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The wording looks good but I'd like another review from someone who is more familiar with the C API.

@kaleberskalebers left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done, thanks for adding helpful information!

Comment threadDoc/c-api/typeobj.rst Outdated
@encukou
encukou enabled auto-merge (squash) April 19, 2024 09:01
@encukouencukou added the needs backport to 3.12 only security fixes label Apr 19, 2024
@encukou
encukou merged commit 5d54436 into python:mainApr 19, 2024
@miss-islington-app

Copy link
Copy Markdown

Thanks @savannahostrowski for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 19, 2024
…lection (pythonGH-118021)
(cherry picked from commit 5d54436)
Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
@bedevere-app

Copy link
Copy Markdown

GH-118092 is a backport of this pull request to the 3.12 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.12 only security fixes label Apr 19, 2024
encukou pushed a commit that referenced this pull request Apr 19, 2024
…llection (GH-118021) (GH-118092)
gh-116935: Document that heap types need to support garbage collection (GH-118021)
(cherry picked from commit 5d54436)
Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
@savannahostrowski

Copy link
Copy Markdown
MemberAuthor

Thanks for the reviews, folks!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(easy): Document that heap types need to support garbage collection

4 participants

@savannahostrowski@encukou@JelleZijlstra@kalebers