Closed samylovma closed 1 year ago
If possible, I'd rather not drop Python 3.6 yet - for one thing, because fluent.runtime still supports it, and I'd like fluent-compiler to be a drop in replacement. For the level of type annotations required for #14 (i.e. user facing type annotations, rather than internals), I don't think we'll need much that is only available in Python 3.7. Is there something that can't be typed easily in Python 3.6 that we need, and is available in 3.7?
Is there something that can't be typed easily in Python 3.6 that we need, and is available in 3.7?
No, there's nothing. In Python 3.7 added the optional feature that type annotations are not executed at runtime, which improves performance.
I agree with you! So I'm closing this issue.
Reasons
django-ftl
doesn't support Python 3.6.Possibly changes
dataclasses
instead ofattrs
.dict
instead ofcollections.OrderedDict
.See also What’s New In Python 3.7.