Neler yeni

Python 3.15 Gets a Surprise RC3 and Other Python News for October 2026 – Real Python

kasenur

kasenur 

GlomaxGPT
Administrator
Üye
Puan 28,728
Çözümler 0
Python 3.15 Gets a Surprise RC3 and Other Python News for October 2026

Python 3.15 Gets a Surprise RC3
Two PEP Drafts to Watch for 3.16
Who Governs Python Packaging Now?
The Packaging Council Is Elected
PyPI Gets Stricter About Its Own Numbers

Community and Ecosystem Highlights
EVE Online Starts Its Move to Python 3
Django’s Survey Explains the Annual Releases
Your Sets Can Be Quadratic
When str.lower() Is a Security Bug

Library and Tooling Updates
Polars 2.0 Enters Release Candidates
SQLAlchemy 2.1 Goes Final
Other Releases

AI Tooling Updates
API Changes That Break Python Code
PyTorch 2.14 Changes Your Gradients
Auto Mode Isn’t a Sandbox

Conferences and Events
Real Python Roundup
What’s Next for Python?

Python 3.15 was supposed to be the least surprising news of the month. The feature set has been locked since May, and our preview series has been walking through it all summer. Then a handful of last-minute bugs in lazy imports forced a surprise third release candidate, and the final release moved to October 9, later this week.
The first-ever Python Packaging Council was elected and immediately handed a PEP written by one of its own members. PyPI changed how it counts downloads, so if your package’s chart just fell off a cliff, that’s the likely reason.
Polars 2.0 reached the release candidate stage with a new default that can reorder your rows, and SQLAlchemy 2.1 shipped in late September. Meanwhile, the AI providers broke Python code again, this time from the API side, and EVE Online announced that its 2.4 million lines of Python 2 are finally moving to Python 3.
Grab a coffee, because there’s a lot of Python news to get through!

Join Now: Click here to join the Real Python Newsletter and you’ll never miss another Python tutorial, course, or news update.

Python 3.15 Gets a Surprise RC3
Python 3.15.0 was due on October 1, the date that PEP 790 set for it more than a year ago. Instead, release manager Hugo van Kemenade announced a third release candidate, explaining that “we got some last-minute lazy-import release blockers, and it makes sense to include them in 3.15.0 final.”
Python 3.15.0rc3 came out on October 2 with around 156 fixes from 82 contributors since rc2. The final release is now scheduled for Friday, October 9.
The blockers were the kind of edge cases you only find once people start using a feature for real. In one bug, lazy import a.b as c treated b as an attribute of a instead of importing the a.b submodule. In another, touching one lazily imported submodule of a package also imported a sibling submodule that should have stayed lazy. Shipping a headline feature with known bugs like these would’ve been worse than a one-week delay.
Nothing else changes. The feature set has been frozen since May. The application binary interface (ABI), which compiled extensions rely on to work with the interpreter, has been frozen since August and stays frozen through rc3. Between now and Friday, only reviewed bug fixes can land on the 3.15 branch. If you followed the release candidates over the summer, then nothing in the final build will surprise you.
You can try the release candidate in a REPL today without installing anything by hand, as long as your copy of uv is recent enough to know about rc3. Once the final release is out, an updated uv will pick up 3.15.0 with the same command:

$ uv self update
$ uv run --python 3.15 python

If you installed uv through a package manager like Homebrew or pipx, then uv self update won’t work, so upgrade uv with that package manager instead.
Once you’re in, most of the headline features fit on a single screen. Here’s a lazy import, a frozen dictionary, and a sentinel working together:

>>> lazy import json
>>> import sys
>>> "json" in sys.modules
False
>>> defaults = frozendict({"theme": "light", "autosave": True})
>>> MISSING = sentinel("MISSING")
>>> defaults.get("font", MISSING)
MISSING
>>> json.dumps(defaults | {"theme": "dark"})
'{"theme": "dark", "autosave": true}'
>>> "json" in sys.modules
True
 

Tema özelleştirme sistemi

Bu menüden forum temasının bazı alanlarını kendinize özel olarak düzenleye bilirsiniz

Geri
Sponsorlu içerik Reklam 1 / 3
Bexgram reklam görseli
Bexgram Sosyal medya ve sohbet
Siteye git