- cross-posted to:
- programming@lemmy.ml
You must log in or register to comment.
The massive speed improvements are super exciting. Could be a php 7.x like moment for Python.
That
dataclass_transform
looks pretty cool. There has traditionally been some shortcomings between Python’s type annotations and more complex behavior of certain classes. For example, Django has complicated behavior in its ORM governed by metaclasses. Currently that requires a custom bespoke plugin for each type checker.dataclass_transform
will instead allow them to write the one chunk of code that will work everywhere.