GitXplorerGitXplorer
p

peps

public
4495 stars
1556 forks
52 issues

Commits

List of commits on branch main.
Verified
25c9edb94ee1a59c3f3e22b9a2150840c6f9b415

PEP 769: Fix a typo (#4197)

ddavep committed 9 days ago
Verified
f57cdbee3e048234bf031489be699383b2681c00

PEP 767: Include `__init_subclass__` in initialization (#4181)

EEnegg committed 10 days ago
Verified
a9cb87953d239589a06a3a3cdc02d12360577db2

PEP 769: Add a 'default' keyword argument to 'attrgetter' and 'itemgetter' (#4179)

ffacundobatista committed 10 days ago
Verified
7df085fe20c9c83617cdaa2a7beb3489a8dfbcdc

Fixed some external links in the RST (#4190)

wwarsaw committed 11 days ago
Verified
d1c8ef7ad9098b567798f80c8a5b76940ee4d3dd

PEP 694: Updates (#3997)

wwarsaw committed 11 days ago
Verified
a6cfbd5da91ad8da61ef78d3ef8330a4799f316c

PEP 770: Add Post-History (#4189)

ssethmlarson committed 11 days ago

README

The README file for this repository.

Python 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:1. Note that the PEP Index (:pep:0) 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.

Contributing to PEPs

See the Contributing Guidelines <./CONTRIBUTING.rst>_.

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 Read the Docs <https://about.readthedocs.com>_. You can find it in the merge box at the bottom of the PR page:

  1. Click "Show all checks" to expand the checks section
  2. Find the line for docs/readthedocs.org:pep-previews
  3. Click on "Details" to the right

Render PEPs locally

See the build documentation <./docs/build.rst>__ 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 Contributing Guide <./CONTRIBUTING.rst>_ for details.