• Sources: primary, discussion
  • Summary: Google adopted Pyrefly, written at Meta, as the Python type checker for its internal codebase in place of Pytype. The post reports over 80 percent less compute spent on type checking. Pytype's last supported release targets Python 3.12.
  • Why it matters: Pytype's last supported release is Python 3.12 and Pyrefly enforces sound union checking where Pytype was permissive, so any project following Google off Pytype should expect new errors at call sites that pass union-typed values into specific-typed parameters.