python / peps
Python Enhancement Proposals
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing python/peps in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewPython Enhancement Proposals ============================ .. image:: https://github.com/python/peps/actions/workflows/render.yml/badge.svg :target: https://github.com/python/peps/actions The PEPs in this repo are published automatically on the web at https://peps.python.org/. To learn more about the purpose of PEPs and how to go about writing one, please start reading at :pep: . Note that the PEP Index (:pep: ) is automatically generated based on the metadata headers in other PEPs. Canonical links =============== The canonical form of PEP links are zero-padded, such as https://peps.python.org/pep-0008/ . Shortcut redirects are also available. For example, https://peps.python.org/8 redirects to the canonical link. API === Several data files are available at https://peps.python.org/api/ Contributing to PEPs ==================== See the _. Checking PEP formatting and rendering ===================================== Please don't commit changes with reStructuredText syntax errors that cause PEP generation to fail, or result in major rendering defects relative to what you intend. Browse the "Read the Docs" preview ---------------------------------- For every PR, we automatically create a preview of the rendered PEPs using _. You can find it in the merge box at the bottom of the PR page: • Click "Show all checks" to expand the checks section • Find the line for docs/readthedocs.org:pep-previews • Click on "Details" to the right Render PEPs locally ------------------- See the __ for full instructions on how to render PEPs locally. In summary, run the following in a fresh, activated virtual environment: .. code-block:: bash # Install requirements python -m pip install -U -r requirements.txt # Build the PEPs make html # Or, if you don't have 'make': python build.py The output HTML is found under the build directory. Check and lint PEPs ------------------- You can check for and fix common linting and spelling issues, either on-demand or automatically as you commit, with our pre-commit suite. See the _ for details.