[issue39728] Instantiating enum with invalid value results in ValueError twice

2020-09-16 Thread Ethan Furman
Change by Ethan Furman : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue39728] Instantiating enum with invalid value results in ValueError twice

2020-09-16 Thread Ethan Furman
Ethan Furman added the comment: New changeset 5efb1a77e75648012f8b52960c8637fc296a5c6d by Ethan Furman in branch '3.8': [3.8] bpo-39728: Enum: fix duplicate `ValueError` (GH-22277) (GH-22283) https://github.com/python/cpython/commit/5efb1a77e75648012f8b52960c8637fc296a5c6d --

[issue39728] Instantiating enum with invalid value results in ValueError twice

2020-09-16 Thread Ethan Furman
Ethan Furman added the comment: New changeset a9ba8ba9a71f3cb8d274c354ff67b6206abeb8ac by Ethan Furman in branch '3.9': [3.9] bpo-39728: Enum: fix duplicate `ValueError` (GH-22277) (GH-22282) https://github.com/python/cpython/commit/a9ba8ba9a71f3cb8d274c354ff67b6206abeb8ac --

[issue39728] Instantiating enum with invalid value results in ValueError twice

2020-09-16 Thread Ethan Furman
Change by Ethan Furman : -- pull_requests: +21335 pull_request: https://github.com/python/cpython/pull/22283 ___ Python tracker ___

[issue39728] Instantiating enum with invalid value results in ValueError twice

2020-09-16 Thread Ethan Furman
Change by Ethan Furman : -- pull_requests: +21334 pull_request: https://github.com/python/cpython/pull/22282 ___ Python tracker ___

[issue39728] Instantiating enum with invalid value results in ValueError twice

2020-09-16 Thread Ethan Furman
Ethan Furman added the comment: New changeset c95ad7a91fbd7636f33a098d3b39964ab083bf49 by Ethan Furman in branch 'master': bpo-39728: Enum: fix duplicate `ValueError` (GH-22277) https://github.com/python/cpython/commit/c95ad7a91fbd7636f33a098d3b39964ab083bf49 --

[issue39728] Instantiating enum with invalid value results in ValueError twice

2020-09-16 Thread Ethan Furman
Change by Ethan Furman : -- pull_requests: +21330 pull_request: https://github.com/python/cpython/pull/22277 ___ Python tracker ___

[issue39728] Instantiating enum with invalid value results in ValueError twice

2020-09-16 Thread Ethan Furman
Change by Ethan Furman : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39728] Instantiating enum with invalid value results in ValueError twice

2020-03-14 Thread Ashwin Ramaswami
Ashwin Ramaswami added the comment: Never mind, I was able to reproduce it. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue39728] Instantiating enum with invalid value results in ValueError twice

2020-03-14 Thread Ashwin Ramaswami
Ashwin Ramaswami added the comment: I can't reproduce this on the latest python (3.9) from master. Can you? -- nosy: +epicfaace ___ Python tracker ___

[issue39728] Instantiating enum with invalid value results in ValueError twice

2020-02-24 Thread Andrei Daraschenka
Change by Andrei Daraschenka : -- keywords: +patch nosy: +dorosch nosy_count: 4.0 -> 5.0 pull_requests: +18007 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/18641 ___ Python tracker

[issue39728] Instantiating enum with invalid value results in ValueError twice

2020-02-23 Thread Ethan Furman
Change by Ethan Furman : -- assignee: -> ethan.furman stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue39728] Instantiating enum with invalid value results in ValueError twice

2020-02-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +barry, eli.bendersky, ethan.furman ___ Python tracker ___ ___ Python-bugs-list

[issue39728] Instantiating enum with invalid value results in ValueError twice

2020-02-23 Thread Jonas Malaco
New submission from Jonas Malaco : Trying to instantiate an enum with an invalid value results in "During handling of the above exception, another exception occurred:". $ cat > test.py << EOF from enum import Enum class Color(Enum): RED = 1 GREEN = 2 BLUE = 3 Color(0) EOF $