ruff/crates/ty_python_semantic/resources/mdtest/comparison
Carl Meyer 99ec4d2c69
[ty] detect cycles in binary comparison inference (#20446)
## Summary

Catch infinite recursion in binary-compare inference.

Fixes the stack overflow in `graphql-core` in mypy-primer.

## Test Plan

Added two tests that stack-overflowed before this PR.
2025-09-17 09:45:25 +02:00
..
instances Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00
byte_literals.md Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00
enums.md [ty] Enum literal types (#19328) 2025-07-15 21:31:53 +02:00
identity.md Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00
integers.md Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00
intersections.md [ty] Fix binary intersection comparison inference logic (#18266) 2025-05-23 12:55:17 +02:00
non_bool_returns.md Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00
strings.md Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00
tuples.md [ty] detect cycles in binary comparison inference (#20446) 2025-09-17 09:45:25 +02:00
unions.md Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00
unsupported.md Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00