Search results for “site:python.org”

Page 8 of about 2,676 results

peps.python.org pep-0688

PEP 688 – Making the buffer protocol accessible in Python | peps.python.org

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.

peps.python.org pep-0698

PEP 698 – Override Decorator for Static Typing | peps.python.org

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.

peps.python.org pep-0699

PEP 699 – Remove private dict version field added in PEP 509 | peps.python.org

PEP 509 introduced a private ma_version_tag field for dictionaries to allow optimizations in CPython and extension libraries. This PEP proposes to rescind PEP 509 and declare the field an implementation detail, as it has already been superseded by alter...

peps.python.org pep-0701

PEP 701 – Syntactic formalization of f-strings | peps.python.org

This document proposes to lift some of the restrictions originally formulated in PEP 498 and to provide a formalized grammar for f-strings that can be integrated into the parser directly. The proposed syntactic formalization of f-strings will have some ...

peps.python.org pep-0709

PEP 709 – Inlined comprehensions | peps.python.org

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...

Try “site:python.org” on: Marginalia · Mojeek · Wiby · DuckDuckGo · Bing · Google · Wikipedia · Internet Archive