Updated
Updated · InfoWorld · Sep 18
Python 3.15 Adds Lazy Imports as Pyrefly 1.3.0 Expands Type Checking
Updated
Updated · InfoWorld · Sep 18

Python 3.15 Adds Lazy Imports as Pyrefly 1.3.0 Expands Type Checking

1 articles · Updated · InfoWorld · Sep 18

Summary

  • Python 3.15’s new lazy imports can speed startup by deferring modules until they are actually needed, with testing highlighted on widely used PyPI packages.
  • Pyrefly 1.3.0 also landed with stronger type inference and broader framework support, adding coverage for Django, SQLAlchemy and PyTorch while improving NumPy and JAX handling.
  • InfoWorld’s roundup pairs those updates with practical guides to dataclasses, editable installs, virtual environments and free-threaded Python aimed at cutting boilerplate and improving parallel performance.
  • The package of updates also points readers to new Python documentation on built-in type time complexity and to work on faster NumPy ufuncs, underscoring a broader push toward more efficient Python development.

Insights

Could Meta's Rust-based Pyrefly quietly force the entire Python ecosystem to abandon traditional dynamic typing forever?
Will Python's monumental shift to free-threading actually destroy its legendary simplicity for everyday developers?
How might the missing process-wide semaphore in Python 3.14 secretly break your existing asynchronous applications?