Tag: static analysis
-
Python Type Hints: runtime vs typing-only Annotations
Most Python type hints do nothing at runtime. See which annotations actually validate, real performance numbers, and the isinstance() trap with generics.
-
mypy vs pyright vs Pyre: 47% Error Detection Gap
I ran the same 60-bug test corpus through mypy, pyright, and Pyre. pyright caught 58 errors, mypy found 34, Pyre only 29. Real accuracy benchmarks.