astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
[ty] Allow enum member accesses on self
charlie/self-enum-member-bound
11 minutes ago
[ty] Allow enum member accesses on self
charlie/self-enum-member-bound
18 minutes ago
[ty] more precise exception types when catching a union
cjm/union-exc-caught
25 minutes ago
[ty] Contextualize keyword splats during overload resolution
charlie/keyword-context
1 hour ago
[ty] Contextualize generator expression yields (#25069) ## Summary This adds bidirectional inference for generator-expression yields. Previously, expected generator or iterable contexts did not reach the yielded expression, so we inferred literals inside generator expressions too narrowly: ```py expects_content([TextContent()] for _ in range(1)) ``` Now generator-expression inference derives a yield context from `Generator`, `Iterator`, and `Iterable`-style expected types, then passes it into the generator scope before constructing the resulting `GeneratorType`. --------- Co-authored-by: Codex <noreply@openai.com> Co-authored-by: Carl Meyer <carl@oddbird.net>
main
1 hour ago
review fix
charlie/contextualize-generator-expressions
1 hour ago
Review feedback
charlie/contextualize-generator-expressions
3 hours ago
Review feedback
charlie/contextualize-generator-expressions
3 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
[ty] Allow enum member accesses on `self`
#25077
30 minutes ago
3e0357a
charlie/self-enum-member-bound
CodSpeed Performance Gauge
0%
[ty] more precise exception types when catching a union
#25076
32 minutes ago
b37cfe8
cjm/union-exc-caught
CodSpeed Performance Gauge
0%
[ty] Contextualize keyword splats during overload resolution
#25075
1 hour ago
aa62b2b
charlie/keyword-context
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs