Skip to content

[3.8] bpo-39728: Enum: fix duplicate ValueError (GH-22277)#22283

Merged
ethanfurman merged 1 commit intopython:3.8from
ethanfurman:backport-c95ad7a-3.8
Sep 17, 2020
Merged

[3.8] bpo-39728: Enum: fix duplicate ValueError (GH-22277)#22283
ethanfurman merged 1 commit intopython:3.8from
ethanfurman:backport-c95ad7a-3.8

Conversation

@ethanfurman
Copy link
Member

@ethanfurman ethanfurman commented Sep 16, 2020

fix default _missing_ to return None instead of raising a ValueError
Co-authored-by: Andrey Darascheka andrei.daraschenka@leverx.com.
(cherry picked from commit c95ad7a)

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

https://bugs.python.org/issue39728

fix default `_missing_` to return `None` instead of raising a `ValueError`
Co-authored-by: Andrey Darascheka <andrei.daraschenka@leverx.com>.
(cherry picked from commit c95ad7a)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
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