chiprook
← Software
SoftwareOctober 13, 2026, 17:24

Python 3.15: test shows lazy import defers the delay, not removes it

Python 3.15 shipped on October 9, 2026 with lazy imports, frozendict, sentinel, unpacking in comprehensions, UTF-8 by default and the Tachyon profiler. A test with a module taking 2 seconds to initialize showed a regular import at 2.006 s, a lazy import statement at 0.000 s and the first use of the module at 2.002 s.

Python 3.15: test shows lazy import defers the delay, not removes it
#Python
Read next
Software

Python 3.15: JIT Gives 7–8%, but Lazy Imports and Profiler Matter More

Software

Python 3.15 lazy imports cut cold start from 512 ms to 32 ms

Software

Open source roundup: Python 3.15, OpenSSH 10.6 and LineageOS 24.0

Software

Python 3.15 released with frozendict, UTF-8 default and JIT gains