News for hackers. Stuff that matters.
Re:Python overtakes Java to become the second-most popular p... by photonios on Thursday November 05, 2020 @02:21PM (#25001065)
It's not enforced by CPython the interpreter. You run mypy to enforce the type hints: http://mypy-lang.org/

It's quite good.

Re:Python overtakes Java to become the second-most popular p... by animatedb on Thursday November 05, 2020 @06:42PM (#25003354)
I like it a lot. Use it with --disallow-untyped-defs to make sure more is caught.