Skip to content

BuildIndependently confirmed2 publishers2 min readPublished

Python 3.15 changes four defaults, starting with UTF-8 as the text encoding

Python 3.15 makes UTF-8 its default encoding and ships an experimental JIT 7-8% faster by geometric mean on x86-64 Linux. Each platform's JIT figure uses a different baseline, so a service learns what the JIT does for it only by rerunning the test.

The Engineer · Build desk

How we use AISend a correction

What happened

  • On AArch64 macOS the release notes put the JIT 11-12% ahead, measured against the tail-calling interpreter instead of the standard interpreter used for the Linux figure.
  • PEP 810 brings explicit lazy imports to Python 3.15, aimed at shorter startup times.
  • Frame pointers are now enabled by default under PEP 831, for better system-level observability.
  • The official Windows 64-bit binaries now use the tail-calling interpreter.
  • The official macOS binaries now install free-threading support by default.

Compiled by The EngineerSomething wrong?How this is made

Why it matters

  • decision Every text path that relied on the old default now forces a choice between naming an encoding in code and accepting UTF-8.
  • constraint Startup gains from PEP 810 depend on marking imports in code, so moving to the 3.15 interpreter alone should not shorten cold starts.
  • cost Crediting a 3.15 speedup to the JIT, or a slowdown to frame pointers, takes separate benchmark runs with each default isolated.
  • capability Stock 3.15 builds can be examined with system-level tools without rebuilding Python with frame pointers turned on.

A default only reaches code that leaves the choice open. Under PEP 686, a path that reads or writes text without naming an encoding now gets UTF-8 [1]. Those call sites look the same before and after the upgrade, so a diff review will not find them. I'd search for them before the first 3.15 deploy, starting with file handling that has never had to say what encoding it expected.

PEP 810 works the other way. Taken literally, "explicit" means the startup saving goes only to imports that are marked for it [4]. Existing import statements should behave as they did on 3.14. The test work arrives with the edit that marks them, one module at a time.

The JIT figures are the release team's own [2][3]. The announcement does not name the benchmark suite behind either geometric mean. A geometric mean can also hold benchmarks that slowed down alongside ones that sped up a lot. For the Linux figure to transfer, a service's hot paths have to look like that suite, and it has to run on x86-64 Linux [2]. Its operators also have to accept a compiler that the release notes and Phoronix both still call experimental [5][7].

A plain before-and-after benchmark measures more than the JIT. Add the encoding change to the three build and release defaults above and the release highlights list four default changes between 3.14 and 3.15 [14]. A team timing a Windows service on 3.14 and again on 3.15 gets one number that covers a different interpreter build [8], frame pointers [6] and the new encoding [1].

The frame-pointer default is the change I'd defend hardest. PEP 799 lands in the same release with a dedicated profiling package and Tachyon, a high-frequency statistical sampling profiler [10]. The default gives system-level tools a view of the interpreter [6], and the standard library now has a sampler for the Python side [10].

Barry Warsaw marked the release with whatsnewt, a text adventure for the terminal [11]. "I had this idea to whip up a little TUI adventure game that takes you through a What's New in Python 3.15," he wrote [11]. Each of its eighteen puzzles requires a real 3.15 feature, with the code written and run in a 3.15 interpreter [12]. It is also a cheap way to put code in front of 3.15 before the CI matrix has one: `uvx --python 3.15 whatsnewt` [13].

What to watch

  • Independent JIT benchmarks on production-shaped workloads, especially on Windows, where the official binaries changed interpreter in the same release.
  • Whether a later release drops the JIT's experimental label and makes the 7-8% figure apply to the default execution path.
  • Encoding regressions filed against 3.15 by projects whose file handling never named an encoding.

Clarity's read

What the record supports and how the coverage leans. The claims behind it follow.

Reality

Evidence62
Adoption
Insufficient
Hype gap+5
Incentives25
Confidence72
Why these scores

Claim ledger

Ranked by verification strength, evidence, and original report placement.

  1. [1]

    Under PEP 686, Python 3.15 uses UTF-8 as the default encoding.

    ReportedSupportedSource: Python 3.15.0 release announcement; also reported by Phoronix2 sources— create a free account to open themView cited source
  2. [2]

    The experimental JIT compiler in Python 3.15 shows a 7-8% geometric mean performance improvement on x86-64 Linux over the standard interpreter.

    ReportedSupportedSource: Python 3.15.0 release announcement2 sources— create a free account to open themView cited source
  3. [3]

    The Python 3.15 JIT shows an 11-12% speedup on AArch64 macOS over the tail-calling interpreter.

    ReportedSupportedSource: Python 3.15.0 release announcement2 sources— create a free account to open themView cited source

Sources

2 independent publishers whose own reporting we read for this story.

  1. blog.python.org

    1 article · October 8, 2026

    Python 3.15.0 (final) is here!
  2. phoronix.com

    1 article · October 9, 2026

    Python 3.15 Released With Experimental JIT Compiler Running Faster
  3. runtimewire.com

    1 article · October 9, 2026

    Python 3.15 ships lazy imports, an upgraded JIT and free-threading support

Share your take

Let Clarity write the post for you.

Signed-in readers get a short post drafted on this story in the register they choose — narrative, analytical, or a direct position — editable to the last word before it goes anywhere. The share buttons at the top of this story work without an account.

Topics and entities

Follow any of these and your For You feed starts watching them — no settings page required.

Topics

Entities

Loading related stories