Δημοφιλή: Ενημέρωση δεδομένων: 30 Νοεμβρίου 2026

Κατηγορίες

Διαδίκτυο1.433
Επικοινωνία331
Ήχος και βίντεο944
Γραφικά και σχεδίαση571
Γραφείο και παραγωγικότητα1.195
Εργαλεία προγραμματισμού3.312
Εργαλεία AI620
Ασφάλεια και απόρρητο415
Εργαλεία συστήματος3.231
Παιχνίδια548
Εκπαίδευση και επιστήμη243
Δίκτυα και IT297

Λήψη ty 0.0.111

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

Αυτή είναι παλαιότερη έκδοση. Η τελευταία έκδοση είναι η 0.0.112. ty 0.0.112 · Κυκλοφορία:

Αρχεία εγκατάστασης 0.0.111

ΑρχιτεκτονικήΤύποςΕμβέλειαΜέγεθος αρχείουΛήψηSHA256
64-bit ZIP → Φορητό — — github.com VirusTotal
ARM64 ZIP → Φορητό — — github.com VirusTotal
32-bit ZIP → Φορητό — — github.com VirusTotal

Ο σύνδεσμος και το SHA256 προέρχονται από το κοινοτικό manifest του Windows Package Manager. Συγκρίνετε το hash του ληφθέντος αρχείου πριν το εκτελέσετε.

Σημειώσεις έκδοσης

Bug fixes

- Fix a crash when choosing an overload for a class decorator depends on an inherited attribute whose type refers back to the decorated class. ty preserves the original class for Self inference even if the decorated name widens to a union. (#30845)

Performance improvements

- Infer repeated generic calls faster by reusing type arguments when the argument types and expected return type match, including for bounded type variables. (#30909)
- Speed up type checking by reducing the work needed to collect and merge inferred expression types, as in geomaglib. (#30882)
- Analyze control flow faster when switching between branches or exception handlers, such as in generated bindings with many try statements. (#30776)
- Narrow names and attributes faster by looking up only the conditions that can affect them and reusing those lookups as ty follows control flow. (#30792, #30780)
- Speed up reachability analysis when branches merge and leave the same definitions in scope. (#30865)
- Preserve narrowing from a later check when complex control flow reaches ty's limit for combining narrowing conditions. (#30865)
- Resolve overloaded calls with Any arguments faster when the earlier overloads infer the same argument types and all rule out object() at the same argument position. (#30866)
- Infer instance attributes such as self.name faster by indexing their assignments and declarations once per class. (#30901)
- Check assignments to unannotated instance attributes faster when the value already has the attribute's inferred type, such as when the call in self.items = wrap(value) determines the type of items. (#30862)
- Look up inherited members faster on standard generic types such as list[int] and list[str] by reusing their method resolution order across type arguments. (#30908)
- Determine instance types faster by reusing information about a class and its bases, including whether it is a TypedDict or a protocol or inherits from explicit Any. (#30906)
- Look up members faster across different string or integer literals, while retaining exact lengths for string __len__. (#30907)
- Bind methods without overloads faster by reusing whether they are class methods or static methods. (#30907)
- Speed up inference for unannotated collections such as items = [] by looking up the initializer only for uses that can constrain its type, such as items.append(1). (#30904)
- Index names, attributes, and subscripts faster, including common accesses such as self.name. (#30904)
- Resolve recursive types faster when wide unions of distinct instance types stay the same, as in Pygments' Sphinx extension. (#30805)
- Reduce indexing overhead by making it cheaper to store and share information about assignments and declarations. (#30905)
- Reduce the cost of storing inferred expression types when finishing a scope. (#30895)

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

Τα πιο δημοφιλή: Γλώσσες και SDK

Όλα
  1. Go Programming LanguageΓλώσσες και SDK
  2. LLVMΓλώσσες και SDK · LLVM
  3. DenoΓλώσσες και SDK · Deno Land Inc.
  4. CMakeΓλώσσες και SDK · Kitware
  5. YarnΓλώσσες και SDK · Yarn Contributors
  6. pnpmΓλώσσες και SDK · pnpm
  7. CcacheΓλώσσες και SDK · Joel Rosdahl
  8. sbtΓλώσσες και SDK · Lightbend, Inc.
  9. BOINCΓλώσσες και SDK · Space Sciences Laboratory, U.C. Berkeley
  10. Dart SDKΓλώσσες και SDK · Google

Περισσότερα από τον εκδότη Astral Software Inc.

Όλα
  • uvΔιαχείριση πακέτων και ενημερώσεων · Astral Software Inc.

Ετικέτες

Κοινοποίηση