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
GH-93521: Filter out __weakref__
slot if present in bases
#93535
Conversation
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
I am not sure why my commit was changed to |
Misc/NEWS.d/next/Library/2022-06-06-13-19-43.gh-issue-93521._vE8m9.rst
Outdated
Show resolved
Hide resolved
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Ah sorry I requested your review through GitHub but I'll send a message to be clear. I have addressed your comments and pushed new changes which are passing checks. |
Thanks @Bluenix2 for the PR, and @ericvsmith for merging it |
GH-93594 is a backport of this pull request to the 3.11 branch. |
…sent in bases (pythonGH-93535) (cherry picked from commit 5849af7) Co-authored-by: Bluenix <bluenixdev@gmail.com>
This PR fixes #93521 by moving the
('__weakref__',) if weakref_slot else ()
ternary into the iterator that filters out already present slots.