Skip to content
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

[3.10] bpo-46246: add missing __slots__ to importlib.metadata.DeprecatedList (GH-30452) #31269

Merged
merged 1 commit into from Feb 11, 2022

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Feb 11, 2022

Confirmed with @jaraco that this indeed needs a fix.

A question that came up while I was digging into the code: I think SelectableGroups could similarly use __slots__ = (), since its purpose seems only for convenience around dict, not to have attributes of its own.

Automerge-Triggered-By: GH:jaraco
(cherry picked from commit dd76b3f)

Co-authored-by: Arie Bovenberg a.c.bovenberg@gmail.com

https://bugs.python.org/issue46246

Automerge-Triggered-By: GH:jaraco

…pythonGH-30452)

Confirmed with @jaraco that this indeed needs a fix.

A question that came up while I was digging into the code: I think `SelectableGroups` could similarly use `__slots__ = ()`, since its purpose seems only for convenience around `dict`, not to have attributes of its own.

Automerge-Triggered-By: GH:jaraco
(cherry picked from commit dd76b3f)

Co-authored-by: Arie Bovenberg <a.c.bovenberg@gmail.com>
@miss-islington
Copy link
Contributor Author

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

@miss-islington miss-islington merged commit 1124ab6 into python:3.10 Feb 11, 2022
@miss-islington miss-islington deleted the backport-dd76b3f-3.10 branch February 11, 2022 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants