Suositut: Tiedot päivitetty 30. marraskuuta 2026

Kategoriat

Internet1 433
Viestintä331
Ääni ja video944
Grafiikka ja suunnittelu571
Toimisto ja tuottavuus1 195
Kehitystyökalut3 312
Tekoälytyökalut620
Tietoturva ja yksityisyys415
Järjestelmätyökalut3 231
Pelit548
Opiskelu ja tiede243
Verkko ja IT297

Lataa ty 0.0.112

An extremely fast Python type checker and language server, written in Rust.

Tämä on uusin versio. · Julkaistu:

Asennustiedostot 0.0.112

ArkkitehtuuriTyyppiLaajuusTiedostokokoLatausSHA256
64-bittinen ZIP → Portable — — github.com VirusTotal
ARM64 ZIP → Portable — — github.com VirusTotal
32-bittinen ZIP → Portable — — github.com VirusTotal

Linkki ja SHA256-tiiviste ovat peräisin Windows Package Managerin yhteisön manifestista. Vertaa ladatun tiedoston tiivistettä ennen kuin suoritat sen.

Muutosloki

Bug fixes
- Fix a crash when pressing Ctrl+C just after saving a watched file. ty check --watch now exits with the usual interrupt status 130. (#29976)

Performance improvements
- Check assignments faster by looking up type annotations and imported Final qualifiers together. (#30797)
- Simplify unions of fixed-length tuples faster when a pair of elements at any matching position contains disjoint literals or distinct class objects, as in Django’s registry for arithmetic expressions. (#30940)
- Speed up control flow analysis for type narrowing and reachability, especially in files with large wildcard imports such as from OpenGL.GL import *. (#30790)
- Infer types faster for collections of functions such as Jinja’s filter registry. When each function has a single standard signature, ty can rule out a match if required parameters at the same position accept different keyword names or if one function requires more positional arguments than the other accepts. (#30858)
- Infer type arguments faster, including element types for list literals. ty uses a single lower bound directly and removes duplicate types after selecting the bounds relevant to inference or validation. (#30786)
- Speed up checks of modules and functions without Final declarations by skipping the search for Final names that never receive a value. (#30946)

Core type checking
- Use the input type of an attrs @field_name.converter method when checking generated constructor arguments and field assignments. Reading the field gives its declared type. If several converters are registered, the first one determines the accepted input type. (#30959)
- Recognize __attrs_attrs__ as a tuple of field metadata on attrs classes and instances. ty also recognizes the attribute after attrs.has narrows a class to type[AttrsInstance]. (#30958)
- Report invalid-argument-type when attrs.fields or attrs.asdict receives an argument that lacks the __attrs_attrs__ member required by the AttrsInstance protocol. (#30958)

https://github.com/astral-sh/ty/releases/tag/0.0.112

Suosituin kategoriassa Ohjelmointikielet ja SDK:t

Näytä kaikki
  1. Go Programming LanguageOhjelmointikielet ja SDK:t
  2. LLVMOhjelmointikielet ja SDK:t · LLVM
  3. DenoOhjelmointikielet ja SDK:t · Deno Land Inc.
  4. CMakeOhjelmointikielet ja SDK:t · Kitware
  5. YarnOhjelmointikielet ja SDK:t · Yarn Contributors
  6. pnpmOhjelmointikielet ja SDK:t · pnpm
  7. CcacheOhjelmointikielet ja SDK:t · Joel Rosdahl
  8. sbtOhjelmointikielet ja SDK:t · Lightbend, Inc.
  9. BOINCOhjelmointikielet ja SDK:t · Space Sciences Laboratory, U.C. Berkeley
  10. Dart SDKOhjelmointikielet ja SDK:t · Google

Lisää julkaisijalta Astral Software Inc.

Näytä kaikki
  • uvPaketinhallinta ja päivittäjät · Astral Software Inc.

Tunnisteet

Jaa