Search results for “site:peps.python.org”

Page 2 of about 55 results

peps.python.org pep-0684

PEP 684 – A Per-Interpreter GIL | peps.python.org

Since Python 1.5 (1997), CPython users can run multiple interpreters in the same process. However, interpreters in the same process have always shared a significant amount of global state. This is a source of bugs, with a growing impact as more and mo...

peps.python.org pep-0659

PEP 659 – Specializing Adaptive Interpreter | peps.python.org

In order to perform well, virtual machines for dynamic languages must specialize the code that they execute to the types and values in the program being run. This specialization is often associated with “JIT” compilers, but is beneficial even without ma...

peps.python.org pep-0742

PEP 742 – Narrowing types with TypeIs | peps.python.org

This PEP proposes a new special form, TypeIs, to allow annotating functions that can be used to narrow the type of a value, similar to the builtin isinstance(). Unlike the existing typing.TypeGuard special form, TypeIs can narrow the type in both the if...

peps.python.org pep-0779

PEP 779 – Criteria for supported status for free-threaded Python | peps.python.org

The acceptance of PEP 703 (Making the Global Interpreter Lock Optional in CPython), as announced by the Steering Council, describes three phases of development for the work to remove the Global Interpreter Lock. Phase I started early in the development ...

peps.python.org pep-0008

PEP 8 – Style Guide for Python Code | peps.python.org

This document gives coding conventions for the Python code comprising the standard library in the main Python distribution. Please see the companion informational PEP describing style guidelines for the C code in the C implementation of Python.

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