Feature freeze for Python 3.15 as first beta released

United States News News

Feature freeze for Python 3.15 as first beta released
United States Latest News,United States Headlines

JIT compiler much improved, but no reinstatement for leaky incremental garbage collector

The Python team has released the first beta of version 3.15, with new features including a stable application binary interface for free-threaded CPython, lazy imports to speed startup time, a new zero-overhead sampling profiler, use of UTF-8 text encoding by default, and a faster just-in-time compiler.

Python's development cycle bars new features after the first beta release. There is typically a new feature release in October each year, with version 3.15 currently scheduled for October 1. The option to remove the global interpreter lock , available in Python 3.14, was the biggest change to Python for years, enabling efficient concurrency on multi-core CPUs.

The new stable ABI means that C extensions can now be compiled for multiple minor versions of free-threaded builds, though the team that doing so means only a subset of the full CPython API is available. The existing stable ABI remains available, and it is possible to compile for both. Extension maintainers will benefit, since building new versions for every minor Python release is a burden.

Explicit lazy imports can improve startup time for Python applications by deferring module loading until it is first accessed. Otherwise, an imported module is loaded and compiled to bytecode immediately - though developers could use workarounds at the expense of code readability. The solution for this is a new keyword: A new sampling profiler called Tachyon works by capturing stack traces from running processes, instead of instrumenting function calls.

According to the docs, the approach"provides virtually zero overhead while achieving sampling rates of up to 1,000,000 Hz" and can be used to debug performance issues in production. CPython may go Rusty, but older platforms risk getting iced outCPython is the reference implementation of Python, and improving its performance has long been a focus. An experimental JIT compiler was introduced in version 3.14, though not recommended for production use - and could.

In 3.15, the JIT compiler is much improved, and the team now reports an 8-9 percent mean performance improvement over the CPython interpreter on x86-64 Linux, and 12-13 percent on Apple silicon macOS, though some code may still run up to 15 percent slower. These figures may change before the final release.

In contrast, the incremental garbage collector released in 3.14 has been reverted, following reports of memory leaks. This aimed to improve performance by reclaiming memory less frequently. It was removed in Python 3.14.5 and the core team "If we want to reintroduce the incremental GC for 3.16, it can go through the regular PEP process and be more thoroughly evaluated.

"AMD says its $4K Ryzen AI Halo workstation practically pays for itselfThrough its"All in AI, AI for All" vision, ZTE surpasses climate targets, bridges the global digital divide, and strengthens governance resilienceUtah tells porn sites to take the P out of VPNs, and it's their fault that they can'tThe Hardware Crunch: How Supply Chain Turbulence Is Forcing a New IT Playbook Infrastructure teams are facing a perfect storm: extended hardware lead times, rising costs driven by AI demand, and accelerated platform timelines. From Prompt to Exploit: How LLMs Are Changing API AttacksAI Found the Problem.

Now What? Step into the chaos of a live ransomware breach, test your response skills, and team up with other IT and security pros to outsmart cybercriminalsRansomware attacks aren’t slowing down, and neither are we. Druva’s hit event, Escape Ransomware, is now fully virtual.

AMD says its $4K Ryzen AI Halo workstation practically pays for itselfEven Claude agrees: hole in its sandbox was real and dangerousSystemsIntuit axes 3,000 – without blaming AIIntel's CEO reveals early hiring challenges as bankruptcy concerns deterred top talentIntuit axes 3,000 – without blaming AIAnother day, another AI bug silently fixed with no CVE and no public disclosureOpenAI floats buy-before-your-try AI availability guaranteeNobody believes the 'criminals and scumbags' who hacked Canvas really deleted stolen student data

We have summarized this news so that you can read it quickly. If you are interested in the news, you can read the full text here. Read more:

TheRegister /  🏆 67. in UK

 

United States Latest News, United States Headlines

Similar News:You can also read news stories similar to this one that we have collected from other news sources.

2026 World Cup: Who are the oldest players to feature at the tournament?2026 World Cup: Who are the oldest players to feature at the tournament?BBC Sport's Ask Me Anything team looks at who the oldest players are in the history of the World Cup
Read more »

NASCAR on Prime trackside coverage to feature several Cup Series legendsNASCAR on Prime trackside coverage to feature several Cup Series legendsEdwards, Gordon, Truex, Keselowski, and Martin will all appear during Prime's five-week run of covering NASCAR
Read more »

Android Studio Panda 2 ships with 'create with AI' featureAndroid Studio Panda 2 ships with 'create with AI' feature: The card game bridge could be a bridge too far for Mountain View's AI
Read more »

Junior disobeyed orders, tried untested feature during demoJunior disobeyed orders, tried untested feature during demoWho, Me?: First came the facepalm, then the faceplant, then the loss of face
Read more »



Render Time: 2026-05-21 04:25:15