10000 [3.10] gh-98154: Clarify Usage of "Reference Count" In the Docs by ericsnowcurrently · Pull Request #107754 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
8000

[3.10] gh-98154: Clarify Usage of "Reference Count" In the Docs #107754

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
Aug 11, 2023

Conversation

ericsnowcurrently
Copy link
Member
@ericsnowcurrently ericsnowcurrently commented Aug 7, 2023

PEP 683 (immortal objects) revealed some ways in which the Python documentation has been unnecessarily coupled to the implementation details of reference counts. In the end users should focus on reference ownership, including taking references and releasing them, rather than on how many reference counts an object has.

This change updates the documentation to reflect that perspective.

PEP 683 (immortal objects) revealed some ways in which the Python documentation has been unnecessarily coupled to the implementation details of reference counts.  In the end users should focus on reference ownership, including taking references and releasing them, rather than on how many reference counts an object has.

This change updates the documentation to reflect that perspective.  It also updates the docs relative to immortal objects in a handful of places.
@pablogsal pablogsal closed this Aug 11, 2023
@pablogsal pablogsal reopened this Aug 11, 2023
@pablogsal pablogsal enabled auto-merge (squash) August 11, 2023 13:41
@pablogsal pablogsal merged commit 917439d into python:3.10 Aug 11, 2023
@ericsnowcurrently ericsnowcurrently deleted the docs-refcounts-3.10 branch August 11, 2023 14:40
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.

3 participants
0