Python 3.15 Beta 4 Released: Lazy Imports, frozendict and UTF-8 Defaults

Published by

Python 3.15.0 Beta 4 has been released, introducing several performance improvements and new features, including frozendict as a built-in type, explicit lazy imports, and UTF-8 as the default for all I/O operations. This release also includes updates to the error messages for enhanced developer experience and a revamped profiling system featuring the new Tachyon statistical profiler. Significant infrastructure changes have been made, such as enabling default frame pointers for better stack traces and switching to a tail-calling interpreter for Windows 64-bit binaries. With the final release scheduled for October, developers are encouraged to test their applications against these new defaults and prepare for upcoming changes, particularly related to UTF-8 and the deprecation of the old profiling module



Python 3.15 Beta 4 Released: Lazy Imports, frozendict and UTF-8 Defaults

 Python 3.15.0 Beta 4 has officially landed, pushing faster startup times and better observability into the core runtime. The release elevates frozendict to a native built-in, implements explicit lazy imports, and makes UTF-8 the system-wide default for all I/O operations. Infrastructure changes include default frame pointers for cleaner stack traces and the new Tachyon statistical profiler to replace the aging profile module. With the final October release approaching, teams should start testing against the new defaults and API deprecations immediately.

Python 3.15 Beta 4 Released: Lazy Imports, frozendict and UTF-8 Defaults @ Linux Compatible