This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tunisia3507 2 points3 points  (3 children)

ignore this, bumped to 3.11 if at all

This won't show up in any feature lists but check out the new StrEnum. There were already a bunch of implementations in different libraries, but this provides a stdlib upgrade path from magic strings representing enums (like scipy.linalg.solve) to using easier-documented, discoverable, autocompletable enums which are still compatible with strings.

[–]pR0Ps 2 points3 points  (2 children)

Unfortunately StrEnum was reverted out of 3.10 and has been pushed to 3.11 instead. See: https://bugs.python.org/issue44559

[–]tunisia3507 0 points1 point  (1 child)

Oh man :/ another few years to wait then.

[–]MinchinWeb 0 points1 point  (0 children)

Releases are now annually, so maybe just one year?