digestweb.dev
Propose a News Source
Support usSponsor
🤝
Curated byFRSOURCE

digestweb.dev

Your essential dose of webdev and AI news, handpicked.

Advertisement

Want to reach web developers daily?

Advertise with us ↗

Back to Daily Feed

Python 3.15 Arrives with Lazy Imports and New Sampling Profiler

Must Read

Originally published on Simon Willison's Weblog by Simon Willison

View Original Article
Share this article:
Python 3.15 Arrives with Lazy Imports and New Sampling Profiler

Summary & Key Takeaways ​

  • Python 3.15 has been released, introducing several new features.
  • Explicit lazy imports (PEP 810) are a major addition, improving startup performance for applications with heavy dependencies.
  • The new unpacking syntax in comprehensions (PEP 798) offers more concise list, set, and dictionary manipulations.
  • A new sampling profiler, Tachyon (profiling.sampling), joins the existing tracing profiler.
  • The update allows developers to deprecate support for Python 3.10 and embrace 3.11 features.

Our Commentary ​

Python 3.15's lazy imports are a game-changer for CLI tools and applications with many optional dependencies. I've wrestled with slow startup times myself, and this feels like a direct answer to that pain. The new profiler is also a welcome addition; performance debugging can be such a black box. It's good to see the language continue to evolve with developer experience in mind.

View Original Article
Share this article:
RSS Atom JSON Feed
© 2026 digestweb.dev — brought to you by  FRSOURCE