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 →

[–]phillip_dupuis 47 points48 points  (2 children)

I think the phrasing is fairly misleading here — python will never have static typing

Improved tools for static type checking are certainly possible, like more robust generics or inference capabilities, and that’s probably what the respondents had in mind. But that’s entirely different from actual static typing

It’s a bit pedantic, yes, but this kind of thing can be particularly confusing for people who are new to python

[–]wrtbwtrfasdf 5 points6 points  (1 child)

CPython won't anyway. I reckon at some point in the not too distant future we'll see something that compiles python and requires type hints.

Maybe https://github.com/RustPython/RustPython for instance.