peps

Python Enhancement Proposals

  • 所有者: python/peps
  • 平台:
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Python Enhancement Proposals

.. image:: https://travis-ci.org/python/peps.svg?branch=master
:target: https://travis-ci.org/python/peps

The PEPs in this repo are published automatically on the web at
http://www.python.org/dev/peps/. To learn more about the purpose of
PEPs and how to go about writing a PEP, please start reading at PEP 1
(pep-0001.txt in this repo). Note that PEP 0, the index PEP, is
now automatically generated, and not committed to the repo.

Contributing to PEPs

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

reStructuredText for PEPs

Original PEP source should be written in reStructuredText format,
which is a constrained version of plaintext, and is described in
PEP 12. Older PEPs were often written in a more mildly restricted
plaintext format, as described in PEP 9. The pep2html.py
processing and installation script knows how to produce the HTML
for either PEP format.

For processing reStructuredText format PEPs, you need the docutils
package, which is available from PyPI <http://pypi.python.org>_.
If you have pip, pip install docutils should install it.

Generating the PEP Index

PEP 0 is automatically generated based on the metadata headers in other
PEPs. The script handling this is genpepindex.py, with supporting
libraries in the pep0 directory.

Checking PEP formatting and rendering

Do not commit changes with bad formatting. To check the formatting of
a PEP, use the Makefile. In particular, to generate HTML for PEP 999,
your source code should be in pep-0999.rst and the HTML will be
generated to pep-0999.html by the command make pep-0999.html.
The default Make target generates HTML for all PEPs.

If you don't have Make, use the pep2html.py script directly.

Generating HTML for python.org

python.org includes its own helper modules to render PEPs as HTML, with
suitable links back to the source pages in the version control repository.

These can be found at https://github.com/python/pythondotorg/tree/master/peps

When making changes to the PEP management process that may impact python.org's
rendering pipeline:

主要指标

概览
名称与所有者python/peps
主编程语言reStructuredText
编程语言Makefile (语言数: 8)
平台
许可证
所有者活动
创建于2013-10-08 13:27:12
推送于2025-06-01 19:52:38
最后一次提交
发布数2
最新版本名称last-legacy-rendering-system (发布于 2022-03-17 00:04:47)
第一版名称lastpy2pep8 (发布于 )
用户参与
星数4.6k
关注者数269
派生数1.6k
提交数11k
已启用问题?
问题数448
打开的问题数21
拉请求数3516
打开的拉请求数34
关闭的拉请求数344
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?