This PEP proposes a Python-level API for the buffer protocol, which is currently accessible only to C code. This allows type checkers to evaluate whether objects implement the protocol.| Python Enhancement Proposals (PEPs)
This PEP proposes adding an @override decorator to the Python type system. This will allow type checkers to prevent a class of bugs that occur when a base class changes methods that are inherited by derived classes.| Python Enhancement Proposals (PEPs)
A slew of obsolete modules are slated to be dropped from Python, a possible prelude to a process for keeping the standard library cleaner.| InfoWorld
CPython has supported multiple interpreters in the same process (AKA “subinterpreters”) since version 1.5 (1997). The feature has been available via the C-API. [c-api] Multiple interpreters operate in relative isolation from one another, which facilit...| Python Enhancement Proposals (PEPs)
Find out what makes Python a versatile powerhouse for modern software development—from data science to machine learning, systems automation, web and API development, and more.| InfoWorld
PEP 484 introduced TypeVar, enabling creation of generics parameterised with a single type. In this PEP, we introduce TypeVarTuple, enabling parameterisation with an arbitrary number of types - that is, a variadic type variable, enabling variadic generi...| Python Enhancement Proposals (PEPs)
Currently the CPython runtime maintains a small amount of mutable state in the allocated memory of each object. Because of this, otherwise immutable objects are actually mutable. This can have a large negative impact on CPU and memory performance, esp...| Python Enhancement Proposals (PEPs)
Comprehensions are currently compiled as nested functions, which provides isolation of the comprehension’s iteration variable, but is inefficient at runtime. This PEP proposes to inline list, dictionary, and set comprehensions into the code where they a...| Python Enhancement Proposals (PEPs)
This PEP specifies an improved syntax for specifying type parameters within a generic class, function, or type alias. It also introduces a new statement for declaring type aliases.| Python Enhancement Proposals (PEPs)