---
title: "Python 3.15"
description: "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."
url: "https://swe.quest/articles/python-3-15-dac73d5d8c836912"
canonical: "https://astral.sh/blog/python-3.15"
source: "Astral"
published: "2026-10-09"
difficulty: "medium"
kind: "Release"
reading_minutes: 11
tags: ["python","developer-tools","type-systems","performance","static-analysis"]
---

# Python 3.15

A post on [Astral](https://swe.quest/sources/astral.md), published 2026-10-09, 11 min read, Release. Original: [https://astral.sh/blog/python-3.15](https://astral.sh/blog/python-3.15)

## Summary

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. 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.

Written by swe.quest, not by the author.

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

## Topics

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

## Prerequisites

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

## Keywords

Python 3.15, Ruff, uv, ty, PEP 810, Tachyon, frozendict, TypedDict

## Related posts

- [Meta contributes new features to Python 3.12](https://swe.quest/articles/meta-contributes-new-features-to-python-3-12-9b216e044692b29d.md): Meta Engineering · 2023-10-05 · Medium · 6 min read · Python, Runtimes & VMs, Performance engineering, Compilers, Open source
  Meta upstreamed several features into CPython 3.12, many derived from its Cinder runtime: immortal objects (PEP 683) that skip reference counting to cut copy-on-write memory in forked Instagram workers, the @typing.override decorator (PEP 698), and inlined comprehensions (PEP 709) running up to 2x faster.
- [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.
- [Zed Weekly: #18](https://swe.quest/articles/zed-weekly-18-7d443e4b9455171f.md): Zed · 2023-09-05 · Easy · 4 min read · Developer tools, AI for coding, RAG & retrieval
  Zed's semantic index now batches embedding requests by token count rather than span count, cutting OpenAI requests and improving throughput and consistency.
- [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.
- [Lazy is the new fast: How Lazy Imports and Cinder accelerate machine learning at Meta](https://swe.quest/articles/lazy-is-the-new-fast-how-lazy-imports-and-cinder-accelerate-machine-learning-at-1dca895716af1470.md): Meta Engineering · 2024-01-18 · Easy · 5 min read · Python, Runtimes & VMs, Performance engineering, Machine learning, Developer productivity
  Meta rolled out the Cinder Python runtime with Lazy Imports, which transparently defers all imports until first use, across ML frameworks and Jupyter kernels.

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)
