Avatar for the astral-sh user
astral-sh
ruff
BlogDocsChangelog

[ty] Fix false positives when subscripting an object inferred as having an `Intersection` type

#18920Merged
Comparing
alex/intersection-hotfix
(
2af7148
) with
main
(
3220242
)
CodSpeed Performance Gauge
+1%
Archived
8

Benchmarks

8 total
small[freqtrade]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
4.6 s4.5 s
large[sympy]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
52.8 s52.5 s
multithreaded[pydantic]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
+3%
3 s2.9 s
medium[colour-science]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
8.7 s8.7 s
small[altair]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
3.1 s3 s
small[pydantic]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
2.9 s2.9 s
medium[pandas]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
32.3 s32.3 s
small[tanjun]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
2 s2 s

Commits

Click on a commit to change the comparison range
Base
main
3220242
+0.01%
fix failing test
a1f0673
9 months ago
by AlexWaygood
+0.58%
add comment
2af7148
9 months ago
by AlexWaygood
© 2026 CodSpeed Technology
Home Terms Privacy Docs