Skip to content

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 10, 2021

by-value lookups could fail on complex enums, necessitating a check for
reduce and possibly sabotaging the final enum;

by-name lookups should never fail, and sabotaging is no longer necessary
for class-based enum creation.
(cherry picked from commit 62f1d2b)

Co-authored-by: Ethan Furman [email protected]

https://bugs.python.org/issue44342

…-26658)

by-value lookups could fail on complex enums, necessitating a check for
__reduce__ and possibly sabotaging the final enum;

by-name lookups should never fail, and sabotaging is no longer necessary
for class-based enum creation.
(cherry picked from commit 62f1d2b)

Co-authored-by: Ethan Furman <[email protected]>
@miss-islington
Copy link
Contributor Author

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

@ethanfurman ethanfurman merged commit b613132 into python:3.10 Jun 10, 2021
@miss-islington miss-islington deleted the backport-62f1d2b-3.10 branch June 10, 2021 23:37
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.

4 participants