https://peps.python.org/peps.rss
· source : Welcome to Python.org
Newest Python Enhancement Proposals (PEPs): Information on new language features and some meta-information like release procedure and schedules.
🗒️ Articles (10 affichés)
📄 10
05/08/2026 00:00
This PEP proposes adding two new builtin functions, public() and private(), which document the public interface of a module by keeping its __all__ synchronized with the names actually defined to be public in that module. Both are used as decorators (@public and @private) on class and function defini…
Lire l'article →
25/07/2026 00:00
This PEP proposes an export statement that modules can use to express intent about the visibility of variables from outside the module.
Lire l'article →
20/07/2026 00:00
This PEP proposes frozen display syntax: f{1, 2, 3} evaluates to a frozenset, and f{'a': 1} evaluates to a frozendict. Because immutability is guaranteed by the syntax itself rather than inferred from usage, the compiler can treat frozen displays as first-class citizens of its optimization pipeline:…
Lire l'article →
15/07/2026 00:00
There is a long-standing inconsistency in the way variable names are resolved in classes. Several alternatives to resolve this inconsistency are discussed.
Lire l'article →
15/07/2026 00:00
This PEP proposes adding a python-version field to pyvenv.cfg which records the Python interpreter used by a virtual environment. It records only the major and minor version to be resilient to patch version updates.
Lire l'article →
12/07/2026 00:00
This PEP adds an extension mechanism to the json encoder consisting of three complementary parts, one per level of customization:
Lire l'article →
02/07/2026 00:00
The experimental Just-in-Time (JIT) compiler has been part of CPython’s main branch since Python 3.13. PEP 744 described part of its initial design and explicitly deferred a number of questions about the JIT’s long-term status. Since then, the JIT has been re-architected and matured considerably. In…
Lire l'article →
12/06/2026 00:00
This PEP proposes overloading the @ operator on types to allow writing Annotated[T, M] as T @M.
Lire l'article →
21/04/2026 00:00
This PEP proposes freezing the standard HTML representation of the simple repository API, as originally specified in PEP 503 and updated over subsequent PEPs.
Lire l'article →
31/03/2026 00:00
This PEP changes the way packages influence Python’s startup process. Previously controlled through legacy .pth files parsed and executed by the site.py file during interpreter startup, such files are used to extend sys.path and execute package initialization code before control is passed to the fir…
Lire l'article →