News for hackers. Stuff that matters.
Re:Writing Python like it's Rust by lyu07282 on Sunday May 21, 2023 @03:56PM (#36024196)
I'm also 100% convinced most people who use mypy don't realize the myriad ways it just silently stopps typing things or just silently crashes with a 0 exit code. Even if you configure it to warn untyped functions etc. It will still just not work properly in some of circumstances and you will literally never know until you debug a bug that just happened to trigger it. There are over 1.4k open bug tickets it's such a broken piece of software: https://github.com/python/mypy/issues?q=is%3Aissue+is%3Aopen...

The involvement of Guido in mypy is such a tragedy.

Re:Writing Python like it's Rust by mumblemumble on Sunday May 21, 2023 @04:10PM (#36024283)
I think it's probably no mere coincidence that the article recommends pyright, not mypy.