Skip to content

[3.10] [doc] Mention __slots__ behavior in weakref.rst (GH-21061) #28772

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 6, 2021

Conversation

miss-islington
Copy link
Contributor

It took me longer than I expected to figure out why a random class
I dealt with didn't support weak references. I believe this addition
will make the slots/weakref interaction more discoverable to people
having troubles with this. (Before this patch slots was not
mentioned in weakref documentation even once).

Co-authored-by: Łukasz Langa [email protected]
(cherry picked from commit b24b47e)

Co-authored-by: Jakub Stasiak [email protected]

It took me longer than I expected to figure out why a random class
I dealt with didn't support weak references. I believe this addition
will make the __slots__/weakref interaction more discoverable to people
having troubles with this. (Before this patch __slots__ was not
mentioned in weakref documentation even once).

Co-authored-by: Łukasz Langa <[email protected]>
(cherry picked from commit b24b47e)

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

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

@miss-islington
Copy link
Contributor Author

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

@ambv ambv merged commit ce121fd into python:3.10 Oct 6, 2021
@miss-islington miss-islington deleted the backport-b24b47e-3.10 branch October 6, 2021 18:52
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 issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants