Message364784
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:26 | ethan.furman | set | recipients: + ethan.furman, barry, eli.bendersky, docs@python, edd07, Ethan Onstott, Jonathan Hsu | | 2020-03-22 05:20:26 | ethan.furman | set | messageid: <1584854426.55.0.322456655994.issue40025@roundup.psfhosted.org> | | 2020-03-22 05:20:26 | ethan.furman | link | issue40025 messages | | 2020-03-22 05:20:26 | ethan.furman | create | | |