-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
Update Refcount-related Docs #98154
Comments
ericsnowcurrently
added
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
3.11
only security fixes
topic-C-API
3.12
bugs and security fixes
3.13
bugs and security fixes
3.10
only security fixes
and removed
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
labels
Jul 26, 2023
ericsnowcurrently
added a commit
that referenced
this issue
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. It also updates the docs relative to immortal objects in a handful of places.
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Aug 7, 2023
…ngh-107552) 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. (cherry picked from commit 5dc825d) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
This was referenced Aug 7, 2023
ericsnowcurrently
added a commit
that referenced
this issue
Aug 7, 2023
…07753) 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.
Yhg1s
pushed a commit
that referenced
this issue
Aug 8, 2023
…07552) (#107752) * gh-98154: Clarify Usage of "Reference Count" In the Docs (gh-107552) 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. (cherry picked from commit 5dc825d) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com> * Fix a typo. --------- Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
pablogsal
pushed a commit
that referenced
this issue
Aug 11, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Documentation
PEP 683 includes some docs changes that should help narrow expectations about refcount semantics. Those changes shouldn't need to wait for the PEP.
I'd be interested in backporting these changes as far back as possible.
Linked PRs
The text was updated successfully, but these errors were encountered: