Dette er en ældre version. Den nyeste version er 0.0.87. ty 0.0.87 · Udgivet:
Installationsfiler 0.0.21
| Arkitektur | Type | Omfang | Filstørrelse | Download | SHA256 |
|---|---|---|---|---|---|
| 64-bit | ZIP → Portabel | — | — | github.com | VirusTotal |
| ARM64 | ZIP → Portabel | — | — | github.com | VirusTotal |
| 32-bit | ZIP → Portabel | — | — | github.com | VirusTotal |
Link og SHA256 stammer fra fællesskabets manifest i Windows Package Manager. Sammenlign hashen for den downloadede fil, før du kører den.
Udgivelsesnoter
Bug fixes
- Avoid stack overflow with recursive typevar (#23652)
- Fix panic on incomplete except handlers (#23708)
- Allow unions of different-length iterables in *args unpacking into optional positional parameters (#23124)
- Don't replace Any attributes with object after isinstance narrowing (#23725)
LSP server
- Exclude decorators from class/def code folding (#23543)
- Fix handling of non-Python text documents (#23704)
Configuration
- Add all selector to ty.json schema (#23721)
- Fix precedence of all selector in TOML configurations (#23723)
- Make all selector case-sensitive (#23713)
Type checking
- Add invalid-enum-member-annotation lint rule (#23648)
- Add a diagnostic for an unused awaitable (#23650)
- Add a diagnostic if a TypeVar is used to specialize a ParamSpec, or vice versa (#23738)
- Add more type-variable default validation (#23639)
- Add unbound type variable detection in annotations (#23641)
- Apply narrowing to walrus values (#23687)
- Do not union Unknown into unannotated container types (#23718)
- Avoid inferring generics with negative intersections (#23750)
- More precise types for name and value of an enum (#23683)
- Better preserve user-provided union order in inferred specializations (#23715)
- Support narrowing in ternary expressions (#23726)
- Validate bare ParamSpec usage in type annotations, and support stringified ParamSpecs as the first argument to Callable (#23625)
Contributors
- @charliermarsh
- @zsol
- @Gankra
- @MichaReiser
- @AlexWaygood
- @rizzip
- @iksuddle
- @dcreager
- @BurntSushi
- @carljm
- @oconnor663