ty 1.0
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.
Related posts
- Python Typing Survey 2025: Code Quality and Flexibility As Top Reasons for Typing Adoption
Meta Engineering easyNoviceThe 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. Respondents value gradual adoption, readability, IDE support and bug prevention, but struggle with poorly typed third-party libraries (NumPy, Pandas, Django), complex generics and variance, and inconsistencies between type checkers. Mypy remains the most used checker at 58% (down from 61%), while Rust-based checkers Pyrefly, Ty and Zuban together reach over 20%. Top feature requests are TypeScript-style intersection, mapped and conditional types, runtime enforcement, higher-kinded types and ADTs, and a fast official type checker.
- Python Typing Survey 2026: AI Tools and the Shifting Checker Landscape
Meta Engineering easyNoviceThe 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. Speed was the top reason for picking a checker, and 49.9% of respondents used two or more, often splitting editor and CI roles; 42.7% of multi-checker users reported inconsistencies between them. Missing third-party library types (65.1%) remained the top pain point, especially for Django, SQLAlchemy, Pydantic, NumPy and pandas, and better Callable syntax was the most requested feature. AI tools now write type hints for 42.5% of respondents and invoke checkers for 24.4%, though many are unsure types actually help AI coding, and help-seeking has moved from Stack Overflow (46.4% to 22.9%) toward LLM chat and typing docs.
- Making Python in Zed Fun
Zed easyNoviceZed 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. A manifest tree tracks the nearest pyproject.toml so each monorepo sub-project gets its own toolchain. Zed also runs a separate language server per toolchain rather than making servers juggle multiple environments. Basedpyright is now the default LSP, ty and Ruff work out of the box, Pyrefly is available via an extension, and the team plans to move Astral's ty into core and add notebooks in 2026.
- Python 3.15
Astral mediumAdeptPython 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. Ruff v0.17 adds lint rules TID254 and TID255 for enforcing and validating import laziness. uv gains a preview flag that makes build-backend imports lazy, speeding wheel builds by up to 18%. Windows x86-64 builds get 15-20% pyperformance gains from the Clang tail-call interpreter, ARM64 builds become the default on Windows ARM, and Ruff's default target moves to 3.11 as Python 3.10 reaches end of life.
- Fixit 2: Meta’s next-generation auto-fixing linter
Meta Engineering mediumAdeptFixit 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. Compared with Flake8, which only reports line/column, cannot suggest fixes and relies on the stdlib ast module, Fixit 2 adds local in-repo lint rules, hierarchical TOML configuration for monorepos, and an improved CLI and API. A rule takes under a dozen lines with inline VALID/INVALID test cases, and passing a replacement CST node to report() supplies an autofix. Applied broadly, `fixit fix` can also drive codemods across a large codebase while the rule stays in place to catch new occurrences.