News for hackers. Stuff that matters.
Re:A Failed Experiment with Python Type Annotations by ehsankia on Tuesday June 11, 2019 @08:53PM (#20160846)
There's a great 5m lightning talk from Pycon 2019 explaining the difference between pytype and mypy[0]. It's great that there's different libraries approaching the problem from different angles. Speaking of which, I'm also curious to see how Facebook's Pyre[1] differs from the former two. I'm surprise there's isn't a comprehensive comparison of the 3 libraries yet.

[0] https://www.youtube.com/watch?v=yFcCuinRVnU&t=38m25s

[1] https://github.com/facebook/pyre-check

Re:A Failed Experiment with Python Type Annotations by reissbaker on Wednesday June 12, 2019 @02:19AM (#20162196)
Pyre is similar to mypy, in that it:

1. Is gradually typed,

2. Doesn't infer types, and

3. Is strict, in that it doesn't allow operations that change types.

It was originally developed as a replacement for mypy that was faster and scaled better to very large codebases.