[KongchangAI]
ProductPython 3.15

Python 3.15

A future version of the Python programming language whose interpreter behavior changes may affect the distribution of code performance hotspots.

Timeline (last 90 days)

Nov 13

When using the Python 3.15 image, you need to specify the image tag as `vercel/sandbox/python:3.15`.

Unverified50%
Nov 13

The official date for switching the general-purpose image from Python 3.14 to 3.15 is December 16, 2026.

Unverified50%
Nov 13

Python 3.15 is now officially available as a Vercel-hosted image and can be selected directly in Vercel Sandbox.

Expired50%
Nov 2

In a library project, if uv.lock pins old dependency versions from before Python 3.15 support, deleting uv.lock causes uv to re-resolve dependencies and choose new versions that support Python 3.15, thereby resolving the build error.

Unverified50%
Nov 2

After Python 3.15 is released, PyO3 needs weeks to months to adapt, and packages that depend on PyO3 must then each release a new version, so there is an inherent time lag.

Unverified50%
Nov 2

The build of watchfiles==1.1.1 failed, and the reported reason is that the configured Python interpreter version 3.15 is higher than the maximum version 3.14 supported by PyO3.

Unverified50%
Oct 22

Python 3.15 introduces the sentinel type, freeing state markers from None and bare object().

Unverified50%
Oct 14

Python 3.15 is officially released, and this update includes new features such as lazy imports, the Sentinel type, unpacking operators in comprehensions, and frozen dictionaries.

Unverified50%
Oct 14

Python 3.15 includes performance improvements from an experimental JIT compiler, error message optimizations, a statistical sampling profiler, and support for additional entry types in typed dictionaries.

Unverified50%
Oct 14

A frozen dictionary (frozendict) is an immutable dictionary; once created, it does not support assignment operations, and any attempt to modify it will throw an exception.

Unverified50%

29 more timeline events

All Facts (20)

Unverified

Python 3.15 introduces the Sentinel type, allowing developers to define sentinel values with explicit names, such as MISSING = Sentinel("MISSING") and EMPTY = Sentinel("EMPTY").

60%
Unverified

Python 3.15 introduces a sampling-based profiler that captures call stack snapshots at a fixed frequency, has little impact on program performance, and is suitable for analyzing long-running services.

60%
Unverified

Hugo van Kemenade serves as the release manager for both Python 3.14 and 3.15.

60%
Unverified

Python 3.15 plans to unify the default encoding to UTF-8 via PEP 686.

60%
Unverified

The official date for switching the general-purpose image from Python 3.14 to 3.15 is December 16, 2026.

50%
Unverified

When using the Python 3.15 image, you need to specify the image tag as `vercel/sandbox/python:3.15`.

50%
Unverified

In a library project, if uv.lock pins old dependency versions from before Python 3.15 support, deleting uv.lock causes uv to re-resolve dependencies and choose new versions that support Python 3.15, thereby resolving the build error.

50%
Unverified

Python 3.15 includes performance improvements from an experimental JIT compiler, error message optimizations, a statistical sampling profiler, and support for additional entry types in typed dictionaries.

50%
Unverified

A frozen dictionary (frozendict) is an immutable dictionary; once created, it does not support assignment operations, and any attempt to modify it will throw an exception.

50%
Unverified

Lazy imports do not change import semantics, only the timing at which imports occur; behavior differences may arise in code that depends on import side effects or in situations where module attributes are accessed early in type checking or reflection scenarios.

50%
Unverified

Python has long lacked an official built-in, low-overhead, and easily visualized performance analysis method, and developers often rely on third-party tools such as py-spy; 3.15 brings sampling profiling capability into the standard library, lowering the barrier to performance tuning.

50%
Unverified

Recommended workflow: use the 3.15 sampling profiler to collect data, generate a flame graph to locate macroscopic bottlenecks, then use a source heatmap to pinpoint code lines precisely.

50%
Unverified

Developers only need to add "3.15" to python-version in their GitHub Actions test matrix to use Python 3.15 in CI.

50%
Unverified

Python 3.15's sampling profiler supports a mode that attaches to an already running process, which requires the target process's PID as an entry parameter.

50%
Unverified

Simon Willison says the purpose of datasette-ports displaying PIDs is to make it more convenient for users to attach the new profiler introduced in Python 3.15 to running Datasette processes.

50%
Unverified

Python 3.15 includes the explicit lazy imports feature from PEP 810, which allows module imports to be deferred using the lazy import syntax.

50%
Unverified

In Python 3.15, the What's New guide was curated by Hugo van Kemenade, release manager for 3.14 and 3.15.

50%
Unverified

The process of upgrading to Python 3.15 with uv includes: uv self update, uv python install 3.15, uv python pin --global 3.15.

50%
Unverified

Once the RC stage begins, only reviewed code changes that are clearly bug fixes are permitted to be merged into the main branch, and no new features are added.

50%
Unverified

Any binary wheel compiled against a Python 3.15.0 RC release will be compatible with all future Python 3.15.x versions.

50%

Source Articles