-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
__del__
documentation does not mention weakref
#120937
Labels
docs
Documentation in the Doc dir
Comments
chaen
added a commit
to chaen/cpython
that referenced
this issue
Jun 24, 2024
The weakref documentation refers to __del__, but not the other way around.
sobolevn
pushed a commit
that referenced
this issue
Jun 26, 2024
Co-authored-by: Hugo van Kemenade <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jun 26, 2024
…ythonGH-120940) (cherry picked from commit 1c13b29) Co-authored-by: chaen <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jun 26, 2024
…ythonGH-120940) (cherry picked from commit 1c13b29) Co-authored-by: chaen <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
sobolevn
pushed a commit
that referenced
this issue
Jun 26, 2024
…H-120940) (#121062) gh-120937: Reference weakref from the `__del__` documentation (GH-120940) (cherry picked from commit 1c13b29) Co-authored-by: chaen <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
sobolevn
pushed a commit
that referenced
this issue
Jun 26, 2024
…H-120940) (#121061) gh-120937: Reference weakref from the `__del__` documentation (GH-120940) (cherry picked from commit 1c13b29) Co-authored-by: chaen <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
mrahtz
pushed a commit
to mrahtz/cpython
that referenced
this issue
Jun 30, 2024
…ython#120940) Co-authored-by: Hugo van Kemenade <[email protected]>
noahbkim
pushed a commit
to hudson-trading/cpython
that referenced
this issue
Jul 11, 2024
…ython#120940) Co-authored-by: Hugo van Kemenade <[email protected]>
estyxx
pushed a commit
to estyxx/cpython
that referenced
this issue
Jul 17, 2024
…ython#120940) Co-authored-by: Hugo van Kemenade <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Documentation
the
weakref
documentation mentions__del__
and compares with it. However,__del__
documentation does not mentionweakref
, while this is most probably what the vast majority or developers is looking for feature wise.https://docs.python.org/3/library/weakref.html#comparing-finalizers-with-del-methods
Linked PRs
__del__
documentation (GH-120940) #121061__del__
documentation (GH-120940) #121062The text was updated successfully, but these errors were encountered: