Python 3.15 arrives with experimental JIT, default UTF-8, and new language tools

Última actualización: 10/14/2026
  • Python 3.15 ships after a short delay with an experimental JIT, a profiler, lazy module loading, a sentinel type, frozendict, and startup configuration files.
  • UTF-8 becomes the default text encoding across platforms, addressing long-standing Windows problems with non-ASCII data and smart punctuation.
  • The JIT is reported to be about 7-8% faster on Linux x86-64 and 11-12% faster on AArch64 macOS, though it remains experimental.
  • Comprehension unpacking with star and double-star syntax simplifies flattening nested lists and merging dictionaries; a whatsnewt game teaches the release's features.

Python programming language update

Python 3.15 has arrived as the latest yearly feature release for the language. The rollout followed a brief hold-up after some last-minute regressions were addressed, and it bundles a mix of performance work, platform fixes, and everyday quality-of-life changes. For teams that rely on Python for scripting, data work, or application development, the update touches areas that can show up almost immediately.

Among the headline items, the experimental just-in-time compiler remains a work in progress but is noticeably quicker than before. Benchmarks cited for the release put it around 7 to 8 percent faster in geometric mean on Linux x86-64 compared with the standard interpreter, while on AArch64 macOS it is said to be about 11 to 12 percent faster than the tail-calling interpreter. Those numbers do not mean every workload will feel the same boost, but they give developers a clearer idea of where the project is heading.

paquetes npm maliciosos en react native
Related article:
Malicious npm packages in the React Native ecosystem

UTF-8 by default changes the day-to-day Windows experience

The change likely to matter most to data-focused developers is that UTF-8 is now the default encoding across platforms. Previously, Python often followed the host system’s locale, which caused headaches on Windows when scripts opened UTF-8 data containing smart quotes, accented letters, emojis, or other non-ASCII characters. Those files could be corrupted or cause crashes, sometimes for something as small as a fancy apostrophe.

Surveys from the Python Software Foundation have suggested that roughly half of Python users work with data processing or analysis, and about 58 percent build on Windows. That combination explains why default UTF-8 support is more than a cosmetic tweak. It brings Python in line with many modern runtimes and formats, including Rust, Go, Node.js, Java since JDK 18, Ruby since 3.0, and common configuration formats such as JSON, TOML, and YAML. Most popular editors, from Visual Studio Code to Windows Notepad, also favor UTF-8.

UTF-8 is an 8-bit encoding for the Unicode catalog, managed by the Unicode Consortium with involvement from groups such as the IETF and ISO. It offers more than 1.1 million possible code points, far beyond ASCII’s 128 characters, giving room for mathematical notation, musical symbols, emojis, many Chinese dialects, and even extinct languages used in research. The shift does not remove other encodings like UTF-16 or UTF-32, but it makes the default choice more predictable for cross-platform work.

New types, lazy imports, and a proper profiler

Python 3.15 adds several built-ins and configuration options. One is a sentinel type, useful when code needs a distinct marker that is not confused with None or any ordinary value. Another is frozendict, an immutable dictionary-like type that can help when mappings should not change after creation. The release also introduces package startup configuration files and explicit lazy imports, which allow modules to be loaded only when needed and can shorten script startup times.

The update includes a proper profiler, standard library enhancements, improved error messages, and C API changes. Frame pointers are now enabled by default, a move intended to improve system-level observability and make profiling or debugging tools more effective. Dictionary structures have also been tightened, continuing the language’s long-running effort to reduce memory overhead and improve performance behind the scenes.

Comprehension unpacking gets simpler

Another long-requested convenience is unpacking inside comprehensions using the star operator. In practice, this lets developers flatten a nested collection in a single comprehension instead of adding an extra function or writing a more awkward nested loop. The double-star form works with mappings as well, so dictionaries can be merged or flattened in a more compact way.

That change may look small, but it removes boilerplate from common patterns. For example, a list of smaller lists can be collapsed into one list without importing a helper such as itertools.chain, and a set of dictionaries can be combined with less ceremony. The syntax is optional, so existing code does not need to be rewritten, but teams that process nested data may find it easier to read.

Snapdragon, Windows, and AI workflows

On the platform side, native Python support for Windows on Snapdragon is being framed as a stronger foundation for developers and AI workflows. The available summary did not offer many technical details, but the direction fits the broader push toward Arm-based Windows machines and local AI tooling. For developers using those devices, native builds can reduce friction compared with emulation or layered compatibility paths.

A game to learn the new features

To help developers explore the release, longtime Python contributor Barry Warsaw, also known as Uncle Barry, created a terminal-based adventure game called whatsnewt. It contains 18 puzzles, each tied to a new feature in Python 3.15, including one called The Encoding Tower of Babel that focuses on UTF-8 support. Users can install it with pip after updating and run it from the Python command line; it is reported to work on Windows too.

What this means for developers

For most Python users, the practical impact will depend on their stack. Data teams on Windows should see fewer encoding surprises. Performance-sensitive projects may want to test the experimental JIT but should not treat it as a finished replacement for the standard interpreter. Library maintainers will need to check compatibility with the new built-ins, lazy import behavior, and startup configuration files.

The release also reflects a steady maturation of the language rather than a single dramatic reinvention. Speed, cross-platform consistency, clearer errors, and better observability are all areas that tend to matter in production. Python 3.15 may not change every workflow overnight, but it addresses several long-standing annoyances in one annual drop.

All told, Python 3.15 combines an experimental JIT with meaningful default encoding changes, new types and import behavior, improved tooling, and smaller syntax conveniences. Windows developers get relief from a decades-old character corruption problem, data wranglers gain a more predictable foundation, and anyone curious about the update can try the whatsnewt puzzles. The release is available from Python.org, with the usual caveat that teams should test before rolling it into production.

Related posts: