Urgent.News

What's breaking now, across thousands of outlets.

Tech

Python 3.15 development features and performance updates

Python 3.15 is the next major step in the evolution of the world’s most popular programming language. Currently available as a release candidate, this version introduces lazy imports, a sampling profiler, and immutable dictionaries. These tools help developers write faster and more reliable code before the final release. Performance enhancements and execution efficiency One of the most…

Python 3.15 is the upcoming major release of the widely-used programming language Python. This version introduces several performance enhancements and new features to help developers write faster and more reliable code. One notable addition is lazy imports, which defer the execution of modules until their functions or classes are needed during runtime, improving startup time for large-scale CLI tools and microservices.

Another key feature is the new sampling profiler called Tachyon, which allows for performance analysis without the overhead of traditional debugging methods. Additionally, Python 3.15 continues to refine its Just-In-Time (JIT) compiler, aiming to provide automatic speed boosts to Python code without requiring developers to rewrite their logic in lower-level languages.

The release also includes a new immutable dictionary type called frozendict, which can be used as keys in other dictionaries, enhancing data structure safety in multi-threaded applications. Performance improvements are also being made to the NumPy library, which is crucial for data science and numerical computing. These updates are part of a broader effort to improve Python's execution efficiency and data integrity.

The ecosystem is also evolving with the open-source release of the language Mojo, offering Rust-like performance with Python-like syntax. Furthermore, WebAssembly is expanding Python's presence in web browsers, allowing tools like Numba to run directly in browsers. With these enhancements, Python 3.15 is set to improve both the performance and reliability of applications built with the language.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

GIT WORKFLOW

During my practical sessions at Luxdev HQ, I started working with Git and GitHub as part of my development workflow. At first, some of the commands seemed to do almost the same thing, especially git…

NET::ERR_CERT_AUTHORITY_INVALID: When the Root Itself Is Not Trusted

The hostname matches. The chain is complete — every intermediate is present, each certificate signs the next, and it all leads up to a single certificate at the top. The dates are fine.

  • NET::ERRCERTAUTHORITYINVALID occurs when client refuses to trust root certificate.
  • Root certificate not recognized by client's trust store.
  • Causes include self-signed certs, private CAs, or untrusted roots.

Your retry logic is correct and does nothing

A comment on one of my posts sat open as an issue for two weeks before I understood how bad the thing it described actually was. The post was about an AI assistant missing the SQS trigger on a Lambda.

More from Monday 24 August →