News for hackers. Stuff that matters.
Re:Using Enumerated Types in Python by silviogutierrez on Saturday June 06, 2020 @01:58PM (#23441023)
Agreed on pattern matching, though mypy can help a lot here with exhaustive checks at the very least. They do work on enums and discriminated unions. They should document it:

https://github.com/python/mypy/issues/6366

https://github.com/python/mypy/issues/5818

There are no comments on this comment yet.