News for hackers. Stuff that matters.
Re:State of Python 3.13 Performance: Free-Threading by d0mine on Tuesday November 05, 2024 @03:26PM (#42054851)
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.
Re:State of Python 3.13 Performance: Free-Threading by wormlord on Tuesday November 05, 2024 @03:32PM (#42054899)
> 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.

Re:State of Python 3.13 Performance: Free-Threading by roelschroeven on Wednesday November 06, 2024 @08:41AM (#42062138)
> 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?

Re:State of Python 3.13 Performance: Free-Threading by d0mine on Wednesday November 06, 2024 @02:17PM (#42067735)
Yes, the issue is the change in behavior in a bugfix version. I don't remember the exact details.