
Python Bytes #474 Astral to join OpenAI
31 snips
Mar 23, 2026 They discuss Starlette 1.0 and its new async lifespan API. The Astral team joining OpenAI and what Ruff, uv, and Ty might bring to Codex comes up. A security audit tool for uv and comparisons with pip-audit are covered. They also talk about Python asyncio fire-and-forget changes and how task GC affects background tasks.
AI Snips
Chapters
Transcript
Episode notes
Starlette 1.0 Lifespan Replaces Startup Hooks
- Starlette 1.0 stabilizes the framework by removing long-deprecated code and committing to SemVer.
- The new lifespan asynccontextmanager yields once for startup then continues after yield for shutdown, mirroring pytest fixtures and improving startup/teardown clarity.
Ty Offers Deep Project Understanding For Codex
- Ty (language server/type checker) may be the most strategically valuable Astral project for Codex because it provides deep, project-wide code understanding.
- A language server can answer usage and call-site questions instantly versus ad-hoc grepping across files.
Acquisition Was As Much About People As Code
- Open-sourcing code doesn't prevent acquisitions because hiring the original engineers provides continuity and institutional knowledge.
- Michael argues Astral's hire may be as much about the team (accu-hire) as adopting their code or product.
