
Python 3.15 is here with faster JIT compiler, explicit lazy imports, and UTF-8 by default
The Python Software Foundation has officially released Python 3.15, marking one of the most significant updates to the programming language in recent years. The new version introduces a suite of performance-focused enhancements alongside long-awaited language features. Perhaps the most impactful change is the introduction of explicit lazy imports, which promises substantially faster application startup times by deferring module loading until absolutely necessary. Additionally, the experimental JIT compiler has received substantial upgrades, while frame pointers are now enabled by default to improve system-level observability for developers and debugging tools alike.
Among the standout language additions are three new built-in types: frozendict for immutable dictionaries, sentinel for creating unique placeholder values, and unpacking support within comprehensions. The release also makes UTF-8 the default encoding across platforms, eliminating a common source of cross-platform compatibility headaches. For professionals working with parallel computing, Python 3.15 delivers a stable ABI for free-threaded builds, with macOS binaries now installing free-threading support by default, a critical step forward for multi-core utilization. The standard library sees its own refresh with a dedicated profiling package featuring Tachyon, a high-frequency statistical sampling profiler, and improved error messaging throughout the interpreter.
Python 3.15 represents a mature evolution of the language, balancing backward compatibility with meaningful modernization. While some changes like the stable ABI for free-threaded builds target advanced use cases, everyday developers will appreciate quality-of-life improvements such as package startup configuration files and enhanced argparse functionality that enables suggestion hints by default. As organizations continue adopting Python for everything from web development to artificial intelligence, these performance gains and developer experience enhancements position the language well for the challenges ahead.






Comments
Explicit lazy imports should make a noticeable difference for CLI developer tools where startup latency matters. Deferring heavy dependency trees without manual inline imports inside functions keeps codebases much cleaner. Having Tachyon built in as a sampling profiler also helps diagnose performance bottlenecks without adding external dependencies.
Enforcing UTF-8 as the default encoding for I/O operations typically shows how technical debt can grow in the Python world (and it can still be disabled in many different ways for interoperability purpose). As for the JIT (in CPython), some reports estimate speed improvements of 10%, which is far from PyPy and Pyston performances but the work has just very recently started.