Type hinting for Python
def foo(a, b: int, c: str) -> str:
pass
This is awesome!
Python is a poster child for dynamically typed languages, but if Guido van Rossum gets his way—as benevolent dictator for life (BDFL), he usually does—the language will soon get optional support for static type-checking. The discussion and debate has played out since August (at least), …