---
title: "ty 1.0"
description: "ty, Astral's Rust-written Python type checker and language server, reaches 1.0 and is recommended for production; at OpenAI it is the default checker, with a median 24x speedup and 73% lower peak memory after migration."
url: "https://swe.quest/articles/ty-1-0-49a9da18cfa4e754"
canonical: "https://astral.sh/blog/ty-1.0"
source: "Astral"
published: "2026-12-01"
difficulty: "medium"
kind: "Release"
reading_minutes: 9
tags: ["type-systems","python","static-analysis","developer-tools","performance"]
---

# ty 1.0

A post on [Astral](https://swe.quest/sources/astral.md), published 2026-12-01, 9 min read, Release. Original: [https://astral.sh/blog/ty-1.0](https://astral.sh/blog/ty-1.0)

## Summary

ty, Astral's Rust-written Python type checker and language server, reaches 1.0 and is recommended for production; at OpenAI it is the default checker, with a median 24x speedup and 73% lower peak memory after migration. Benchmarks show it fastest on 16 of 18 projects for cold checks and 14 of 17 for editor updates, while conformance-suite errors dropped to 14 false positives and 13 false negatives. The release adds a new generics solver with bidirectional inference, built-in Pydantic/Django/pytest/attrs support, opt-in return type inference, autofixes via --fix, and migration aids like --add-ignore and diagnostic baselines. Worked examples contrast ty's inference and narrowing choices against mypy, Pyright and Pyrefly, including opt-in strict generic narrowing and unsound-return warnings.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Type systems](https://swe.quest/tags/type-systems.md) (Compilers & runtimes)
- [Python](https://swe.quest/tags/python.md) (Languages)
- [Static analysis](https://swe.quest/tags/static-analysis.md) (Engineering practices)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)

## Prerequisites

- Python type hints ([easy posts on Python](https://swe.quest/tags/python.md?difficulty=easy))
- generics and TypedDict

## Keywords

ty, Astral, mypy, Pyright, Pyrefly, Pydantic, uv, PEP 723

## Related posts

- [Python Typing Survey 2025: Code Quality and Flexibility As Top Reasons for Typing Adoption](https://swe.quest/articles/python-typing-survey-2025-code-quality-and-flexibility-as-top-reasons-for-5cb4a90b143b4c94.md): Meta Engineering · 2025-12-22 · Easy · 8 min read · Python, Type systems, Static analysis, Developer tools
  The 2025 Typed Python Survey (1,241 respondents, mostly experienced developers) finds 86% use type hints always or often, with adoption peaking at 93% among developers with 5–10 years of Python experience and lowest (80%) among 10+ year veterans.
- [Python Typing Survey 2026: AI Tools and the Shifting Checker Landscape](https://swe.quest/articles/python-typing-survey-2026-ai-tools-and-the-shifting-checker-landscape-ce19ff7c47ccb80d.md): Meta Engineering · 2026-10-27 · Easy · 7 min read · Python, Type systems, Static analysis, AI for coding, Developer tools
  The 2026 Python Typing Survey (1,794 responses, mostly developers with 5+ years of Python) found frequent type-hint use flat at about 86% across three years while checker choice shifted sharply toward newer, faster tools.
- [Making Python in Zed Fun](https://swe.quest/articles/making-python-in-zed-fun-1887e7de7b4c59d3.md): Zed · 2025-10-02 · Easy · 5 min read · Python, Developer tools
  Zed reworked its Python support around a generic per-language toolchain selector backed by Microsoft's python-environment-tools, the same library Visual Studio Code uses for venv detection.
- [Python 3.15](https://swe.quest/articles/python-3-15-dac73d5d8c836912.md): Astral · 2026-10-09 · Medium · 11 min read · Python, Developer tools, Type systems, Performance engineering, Static analysis
  Python 3.15 adds a \`lazy\` import keyword (PEP 810), a stdlib \`profiling\` module with the low-overhead Tachyon sampling profiler, new typing features (closed/extra\_items TypedDicts, TypeForm), \`sentinel\` and \`frozendict\` builtins, and \`\*\`/\`\*\*\` unpacking in comprehensions.
- [Fixit 2: Meta’s next-generation auto-fixing linter](https://swe.quest/articles/fixit-2-meta-s-next-generation-auto-fixing-linter-71b7e5da0973759e.md): Meta Engineering · 2023-08-07 · Medium · 6 min read · Static analysis, Python, Developer tools, Refactoring & migrations, Open source
  Fixit 2 is a partial rewrite of Meta's open-source Python auto-fixing linter, built on LibCST so rules can safely suggest and apply code replacements without regex or broken syntax.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
