astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
[ty] Avoid retaining missing descriptor lookups
charlie/reduce-retained-query-entries
23 minutes ago
[ty] Reject unknown keywords for open TypedDict Unpack
charlie/extra-items
25 minutes ago
[ty] Apply a simplification pass
charlie/extra-items
50 minutes ago
[ty] Clarify implicit attribute query comment
charlie/skip-missing-implicit-attribute-cache
1 hour ago
[ty] Check implicit open TypedDict extra items (#25628) ## Summary Open `TypedDict` values can contain hidden extra items with value type `object`. This updates call binding to account for those possible values when a `**TypedDict` argument is matched against a keyword-variadic parameter, while continuing to ignore hidden items for callees without `**kwargs`. This means calls like the following now reject the possible hidden extra items instead of only checking the declared keys: ```py class Options(TypedDict): name: str def accepts_ints(name: str, **kwargs: int) -> None: ... accepts_ints(**Options(name="x")) # Expected `int`, found `object` ``` The same implicit-open behavior also means `functools.partial(..., **typed_dict)` cannot be normalized to a precise reduced signature, because hidden extra items may bind additional keywords at runtime. We now fall back to the broad `partial[ReturnType]` form for those calls, matching Pyright for ordinary open `TypedDict`s.
main
1 hour ago
[ty] Note PEP 728 extra-item handling
charlie/implicit-open-typeddict-kwargs
1 hour ago
[ty] Store loop-header predicate cache on database
charlie/fix-loop-header-reachability-cap
1 hour ago
[ty] Document implicit attribute query isolation
charlie/skip-missing-implicit-attribute-cache
1 hour ago
Latest Branches
CodSpeed Performance Gauge
0%
[ty] Avoid retaining missing descriptor lookups
#25650
32 minutes ago
3e6c740
charlie/reduce-retained-query-entries
CodSpeed Performance Gauge
-5%
[ty] Add support for `extra_items`
#25591
35 minutes ago
0bda0b1
charlie/extra-items
CodSpeed Performance Gauge
0%
[ty] Avoid caching missing implicit attributes
#25649
1 hour ago
2f682dc
charlie/skip-missing-implicit-attribute-cache
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs