X Tutup
The Wayback Machine - https://web.archive.org/web/20260313104547/https://github.com/python/cpython/pull/31269
Skip to content

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

Merged
miss-islington merged 1 commit intopython:3.10from
miss-islington:backport-dd76b3f-3.10
Feb 11, 2022
Merged

[3.10] bpo-46246: add missing __slots__ to importlib.metadata.DeprecatedList (GH-30452)#31269
miss-islington merged 1 commit intopython:3.10from
miss-islington:backport-dd76b3f-3.10

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.

5 participants

X Tutup