X Tutup
Skip to content

[3.11] gh-100098: [Enum] insist on actual tuples, no subclasses, for auto (GH-100099)#100102

Merged
miss-islington merged 1 commit intopython:3.11from
miss-islington:backport-ded02ca-3.11
Dec 8, 2022
Merged

[3.11] gh-100098: [Enum] insist on actual tuples, no subclasses, for auto (GH-100099)#100102
miss-islington merged 1 commit intopython:3.11from
miss-islington:backport-ded02ca-3.11

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Dec 8, 2022

When checking for auto() instances, only top-level usage is supported,
which means either alone or as part of a regular tuple. Other
containers, such as lists, dicts, or namedtuples, will not have auto()
transformed into a value.
(cherry picked from commit ded02ca)

Co-authored-by: Ethan Furman ethan@stoneleaf.us

…uto (pythonGH-100099)

When checking for auto() instances, only top-level usage is supported,
which means either alone or as part of a regular tuple. Other
containers, such as lists, dicts, or namedtuples, will not have auto()
transformed into a value.
(cherry picked from commit ded02ca)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
@miss-islington
Copy link
Contributor Author

Sorry, I can't merge this PR. Reason: 6 of 9 required status checks are expected..

@miss-islington miss-islington merged commit d4426c8 into python:3.11 Dec 8, 2022
@miss-islington miss-islington deleted the backport-ded02ca-3.11 branch December 8, 2022 07:21
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.

3 participants

X Tutup