2 ms·
Python is not statically typed. Mypy adds a layer of static typing on top of Python.
by yawaramin 9y ago
Python is not statically typed. Mypy adds a layer of static typing on top of Python.
- lmm 9y agoRight, but it's misleading to say "Python has static typing", because while an implementation of static typing in Python exists, the vast majority of the Python ecosystem doesn't use it.
- yawaramin 9y agoThat's why I didn't say 'Python has static typing', I said: > Python 3 supports type annotations natively And: > the mypy tool is an external typechecker that you can run just like any other static analysis tool I think I was pretty clear that Python is not statically typed.