ty 1.0
导读
Astral 面向 Python 的快速类型检查器 ty 发布 1.0 版本,并称现已“推荐在生产环境中使用”。据 Simon Willison 引述,ty 已是 OpenAI 默认且部署最广的类型检查器,覆盖数百万行关键 Python 代码,内部迁移后速度中位数提升 24 倍、峰值内存占用降低 73%;此外,安装 django-types 包后可获得对 Django 的内置支持。
正在把原文翻译成中文,长文需要一两分钟;先显示原文。
1st December 2026 - Link Blog
ty 1.0 (via) Astral's fast type checker for Python has hit 1.0, and they now "recommend it for production use".
ty is now the default and most widely-deployed type checker at OpenAI, providing coverage for many millions of lines of critical Python. Internally, migrating to ty resulted in a median 24x speedup and 73% reduction in peak memory usage.
It has built-in support for Django provided the django-types package is also installed.
Posted 1st December 2026 at 9:53 pm
Recent articles
- Lenny's Podcast: Coding is solved—now what do we do? - 29th November 2026
- Code-driven AI illustrations are more useful than images from dedicated image models - 28th November 2026
- Three LLM inflection points in twelve months - 24th November 2026
- Ladybird's first alpha release - 23rd November 2026
This is a link post by Simon Willison, posted on 1st December 2026.
django 590 python 1,297 openai 483 astral 19 ty 4
Monthly briefing
Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.
Pay me to send you less!