4 ms·
At least bugfix versions could have kept Enum behavior the same. Postponing breaking changes until the next minor version. Some Enum features work differently (
by d0mine 2y ago
At least bugfix versions could have kept Enum behavior the same. Postponing breaking changes until the next minor version. Some Enum features work differently (incompatible) in Python 3.11.x versions.
- wormlord 2y ago> Some Enum features work differently (incompatible) in Python 3.11.x versions. I wasn't aware of that, that's actually insane. It's odd to me that it took so long to get f-strings and Enums right in Python, I assumed those would be pretty easy language features to implement.
- roelschroeven 2y ago> Some Enum features work differently (incompatible) in Python 3.11.x versions. I know that Python 3.11 added some things, like StrEnum; those obviously won't work on older Python versions. But I'm not aware of things that work in a certain Python 3 version but don't work in newer ones. You're even talking about incompatibilities between different 3.11.x versions? Can you give some more detail on that?
- d0mine 2y agoYes, the issue is the change in behavior in a bugfix version. I don't remember the exact details.