Python Release November 30 2025 !link! -

* Add cooperative-multicore scheduler (PEP 734) * Introduce intent module for provenance (PEP 738) * Update docs with narrative-driven examples * Bump version to 4.0.0

commit 9f1c2b8d9e (HEAD -> main, tag: v4.0.0) Author: Guido van Rossum <guido@python.org> Date: Tue Nov 30 23:59:58 2025 +0000

The core team, after weeks of heated mailing‑list threads, decided to embrace the concept—not as a black‑box sorcery, but as a transparent, optional layer. The result was the module, a modest library that could be imported with a single line: python release november 30 2025

She thought about the journey—how a language born from a hobby could grow to carry the weight of billions of lines of code, and now, finally, to carry the weight of intention. Python 4.0 wasn’t just a new version number; it was a promise that the tools we build can listen to the people who use them, that they can adapt without breaking, and that they can evolve together with the world they serve.

The result was a version of Python that could truly run multiple CPU‑bound tasks in parallel without the dreaded “interpreter deadlock” that had plagued data‑science pipelines for years. The change was subtle enough that existing code didn’t break, yet powerful enough to let a single‑machine AI model train at double speed with the same hardware. * Add cooperative-multicore scheduler (PEP 734) * Introduce

@aware def calculate(a: int, b: int) -> int: return a + b When calculate was called, the runtime automatically attached a tiny “intent record” to the result, saying “This integer was produced by calculate at 2025‑11‑30 00:00:01 UTC, using inputs from user X.” The data could be queried, logged, or even used to enforce policies in regulated industries.

Today, however, she wasn’t looking at a line of code. She was watching the clock. The date had been announced six months earlier at PyCon 2024: Python 4.0 would be released on the last day of November, 2025. The community had been buzzing with speculation— Would it finally retire the Global Interpreter Lock? Would type hints become mandatory? —but Maya knew that the biggest change wasn’t a single feature. It was a philosophical shift, a new way for the language to talk to the world. The result was a version of Python that

She took a sip of her now‑cold coffee, glanced at the wall of sticky notes that chronicled the months of debate, and opened the file that had been her secret diary for the release: . Chapter 1 – The Whisper of “Self‑Aware” Two years earlier, in a cramped coffee shop in Nairobi, a young researcher named Kofi had posted a pre‑print about “Self‑Aware Python Objects” . The idea was simple: objects could introspect not just their own state, but the intent behind the code that manipulated them, using a lightweight provenance system. The paper sparked a firestorm of excitement and dread. “Too magical,” some warned. “Exactly what we need,” others argued.

Retour en haut