Re:Comparing Python Type Checkers: Typing Spec Conformance
by _carljm on Thursday March 19, 2026 @10:13PM
(#47449582)
We provide this diagnostic in ty (https://docs.astral.sh/ty/reference/rules/#possibly-unresolv...), but it's disabled by default because it can have false positives in many scenarios where the code works at runtime (this is true also in the type checkers that enable it by default). A typical example is code like
But it's easy to turn the rule on if you want it:
[ Parent
| on HN ]
There are no comments on this comment yet.