This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ethan.furman
Recipients Ethan Onstott, Jonathan Hsu, barry, docs@python, edd07, eli.bendersky, ethan.furman
Date 2020-03-22.05:20:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Jonathan Hsu, you are correct -- and "don't do that" was my initial response; but Enum takes many pains to make sure the user doesn't shoot themselves in the foot, so raising a TypeError is appropriate instead of silently doing the wrong thing.
Date User Action Args
2020-03-22 05:20:26ethan.furmansetrecipients: + ethan.furman, barry, eli.bendersky, docs@python, edd07, Ethan Onstott, Jonathan Hsu
2020-03-22 05:20:26ethan.furmansetmessageid: <>
2020-03-22 05:20:26ethan.furmanlinkissue40025 messages
2020-03-22 05:20:26ethan.furmancreate