Python 3.15 Drops: Faster JIT, Lazy Imports, and an Official Text Quest
The world's favorite sluggish scripting powerhouse just dropped its newest version, and instead of just handing developers release notes, they turned the whole thing into an interactive puzzle game.
Developers rolled out the stable build after packing 5,643 commits from over a thousand contributors into the codebase, locking in an 18-month active support window before shifting into a three-year security patch hibernation. The upgrade finally promotes UTF-8 to the default system encoding everywhere, sparing humanity another decade of bizarre file decoding crashes.
On the engine side, the experimental JIT compiler picked up actual steam, yielding around 7 to 8 percent speedups on Linux x86 boxes and jumping up to 12 percent on macOS running on Apple silicon. Startup times also got a massive shot in the arm thanks to formal lazy imports, meaning large programs no longer choke while greedily loading hundreds of unused modules before executing line one.
The type toolbox expanded with official frozendict and sentinel types directly in the core language, sparing teams from writing clunky custom object workarounds. Meanwhile, macOS binaries now ship with free-threading turned on by default, moving the ecosystem an inch closer to putting the ancient Global Interpreter Lock out to pasture.
To make engineers actually learn the new mechanics, core contributor Barry Warsaw packaged the entire release changelog as a playable retro terminal text quest. Running the adventure via terminal drops players into the 'Startup Foyer', forcing them to solve eighteen code puzzles verified through the pyrefly type checker before escaping the interpreter.
Turning documentation into an interactive puzzle game is an amusing flex, yet watching engineers celebrate tiny single-digit performance gains highlights the eternal comedy of modern scripting runtimes. The real question is whether anyone will actually migrate production code or just keep running archaic versions until everything breaks in silence.
Source: python.org
Comments
Help shape the next version: Add context or suggest a correction. AI review can add points toward a rewrite. Reviews and updates may take time; a full meter does not guarantee a new version.