Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chinesehuazhou/peps-cn

对官方PEP(Python增强提案)的中文翻译
https://github.com/chinesehuazhou/peps-cn

Last synced: 11 days ago
JSON representation

对官方PEP(Python增强提案)的中文翻译

Awesome Lists containing this project

README

        

# PEP中文翻译计划
## 什么是PEP?

全称是 `Python Enhancement Proposals`,其中 Enhancement 是增强改进的意思,Proposals 则可译为提案或建议书,所以合起来,比较常见的翻译是 `Python增强提案`或`Python改进建议书`。

更多背景知识,参见:[学习Python,怎能不懂点PEP呢? ](https://github.com/chinesehuazhou/peps-cn/blob/master/%E5%AD%A6%E4%B9%A0Python%EF%BC%8C%E6%80%8E%E8%83%BD%E4%B8%8D%E6%87%82%E7%82%B9PEP%E5%91%A2%EF%BC%9F.md)

## 如何参与翻译?

暂定:自由选择某个PEP,翻译后投稿。

建议:

1、翻译你感兴趣的某个系列的 PEP,例如生成器、装饰器、异步编程等,这样能学到的东西最多

2、翻译新版本增加的 PEP,例如 2 到 3 而出现的 PEP ,或者小版本间的 PEP

## 相关链接

官方索引地址:https://www.python.org/dev/peps/

官方文档地址:https://github.com/python/peps

## 翻译成果

(由于版权或文档排版错乱缘故,部分 PEP 未放入仓库)

- PEP8 -- [Python编码风格指南](https://dwz.cn/W01HexFD)
- PEP202 -- [列表推导式](https://github.com/chinesehuazhou/peps-cn/blob/master/StandardsTrack/202--%E5%88%97%E8%A1%A8%E6%8E%A8%E5%AF%BC%E5%BC%8F.md)
- PEP249 -- [Python数据库API规范v2.0](https://www.biaodianfu.com/python-database-api-specification-v2.html)
- PEP255 -- [简单的生成器](https://github.com/chinesehuazhou/peps-cn/blob/master/StandardsTrack/255--%E7%AE%80%E5%8D%95%E7%9A%84%E7%94%9F%E6%88%90%E5%99%A8.md)
- PEP257 -- [Docstring 约定](https://dwz.cn/JLctlNLC)
- PEP279 -- [enumerate() 内置函数](https://github.com/chinesehuazhou/peps-cn/blob/master/StandardsTrack/279--enumerate()%E5%86%85%E7%BD%AE%E5%87%BD%E6%95%B0.md)
- PEP285 -- [添加一种布尔类型](https://github.com/chinesehuazhou/peps-cn/blob/master/StandardsTrack/285--%E6%B7%BB%E5%8A%A0%E5%B8%83%E5%B0%94%E7%B1%BB%E5%9E%8B.md)
- PEP318 -- [函数和方法的装饰器](https://github.com/chinesehuazhou/peps-cn/blob/master/StandardsTrack/318--%E5%87%BD%E6%95%B0%E5%92%8C%E6%96%B9%E6%B3%95%E7%9A%84%E8%A3%85%E9%A5%B0%E5%99%A8.md)
- PEP324 -- [subprocess-新的进程模块](https://www.cnblogs.com/popapa/p/PEP324.html)
- PEP328 -- [导入:多行及绝对/相对](https://github.com/chinesehuazhou/peps-cn/blob/master/StandardsTrack/328--%E5%AF%BC%E5%85%A5%EF%BC%8C%E5%A4%9A%E8%A1%8C%E5%8F%8A%E7%BB%9D%E5%AF%B9%E7%9B%B8%E5%AF%B9.md)
- PEP333 -- [Python Web服务器网关接口v1.0](https://dwz.cn/TAXIZdzc)
- PEP342 -- [增强型生成器:协程](https://github.com/chinesehuazhou/peps-cn/blob/master/StandardsTrack/342--%E5%A2%9E%E5%BC%BA%E5%9E%8B%E7%94%9F%E6%88%90%E5%99%A8%EF%BC%9A%E5%8D%8F%E7%A8%8B.md)
- PEP343 -- [with 语句](https://github.com/chinesehuazhou/peps-cn/blob/master/StandardsTrack/343--with%E8%AF%AD%E5%8F%A5.md)
- PEP380 -- [子生成器的语法](https://github.com/chinesehuazhou/peps-cn/blob/master/StandardsTrack/380--%E5%AD%90%E7%94%9F%E6%88%90%E5%99%A8%E7%9A%84%E8%AF%AD%E6%B3%95.md)
- PEP443 -- [单分派泛型函数(Single-dispatch generic functions)](https://www.cnblogs.com/popapa/p/PEP443.html)
- PEP482 -- [类型提示的文档性概述(Literature Overview for Type Hints)](https://www.cnblogs.com/popapa/p/PEP482.html)
- PEP483 -- [类型提示的理论(The Theory of Type Hints)](https://www.cnblogs.com/popapa/p/PEP483.html)
- PEP484 -- [类型提示](https://github.com/chinesehuazhou/peps-cn/blob/master/StandardsTrack/484--%E7%B1%BB%E5%9E%8B%E6%8F%90%E7%A4%BA.md) \ [另一篇译文](https://www.cnblogs.com/popapa/p/PEP484.html)
- PEP515 -- [数值字面量中的下划线](https://github.com/chinesehuazhou/peps-cn/blob/master/StandardsTrack/515--%E6%95%B0%E5%80%BC%E5%AD%97%E9%9D%A2%E9%87%8F%E4%B8%AD%E7%9A%84%E4%B8%8B%E5%88%92%E7%BA%BF.md)
- PEP518 -- [指定构建Python项目的最低系统要求](https://blog.csdn.net/weixin_38382105/article/details/80331816)
- PEP525 -- [异步生成器](https://github.com/chinesehuazhou/peps-cn/blob/master/StandardsTrack/525--%E5%BC%82%E6%AD%A5%E7%94%9F%E6%88%90%E5%99%A8.md)
- PEP526 -- [变量注解的语法(Syntax for Variable Annotations)](https://www.cnblogs.com/popapa/p/PEP526.html)
- PEP530 -- [异步推导式](https://github.com/chinesehuazhou/peps-cn/blob/master/StandardsTrack/530--%E5%BC%82%E6%AD%A5%E6%8E%A8%E5%AF%BC%E5%BC%8F.md) / [另一篇译文](https://github.com/chinesehuazhou/peps-cn/blob/master/StandardsTrack/530--%E5%BC%82%E6%AD%A5%E7%9A%84%E8%A7%A3%E6%9E%90%E5%BC%8F.md)
- PEP541 -- [包索引名的保留](https://dwz.cn/ce98vc27)
- PEP570 -- [Positional-Only 参数](https://mp.weixin.qq.com/s/gxEmUs8f9tVqhfd5kERDCg)
- PEP614 -- [放宽对装饰器的语法限制](https://github.com/chinesehuazhou/peps-cn/blob/master/StandardsTrack/614--%E6%94%BE%E5%AE%BD%E5%AF%B9%E8%A3%85%E9%A5%B0%E5%99%A8%E7%9A%84%E8%AF%AD%E6%B3%95%E9%99%90%E5%88%B6.md)
- PEP618 -- [给 zip 添加可选的长度检查](https://github.com/chinesehuazhou/peps-cn/blob/master/StandardsTrack/618--%E7%BB%99%20zip%20%E6%B7%BB%E5%8A%A0%E5%8F%AF%E9%80%89%E7%9A%84%E9%95%BF%E5%BA%A6%E6%A3%80%E6%9F%A5.md)
- PEP3099 -- [Python 3 中不会改变的事情](https://github.com/chinesehuazhou/peps-cn/blob/master/Informational/3099--Python%203%20%E4%B8%AD%E4%B8%8D%E4%BC%9A%E6%94%B9%E5%8F%98%E7%9A%84%E4%BA%8B%E6%83%85.md)
- PEP3105 -- [改 print 为函数](https://github.com/chinesehuazhou/peps-cn/blob/master/StandardsTrack/3105--%E6%94%B9%20print%20%E4%B8%BA%E5%87%BD%E6%95%B0.md)
- PEP3107 -- [函数注解](https://github.com/chinesehuazhou/peps-cn/blob/master/StandardsTrack/3107--%E5%87%BD%E6%95%B0%E6%B3%A8%E8%A7%A3.md) \ [另一篇译文](https://www.cnblogs.com/popapa/p/PEP3107.html)
- PEP3129 -- [类装饰器](https://github.com/chinesehuazhou/peps-cn/blob/master/StandardsTrack/3129--%E7%B1%BB%E8%A3%85%E9%A5%B0%E5%99%A8.md)
- PEP3141 -- [数值类型的层次结构(A Type Hierarchy for Numbers)](https://www.cnblogs.com/popapa/p/PEP3141.html) \ [另一篇译文](https://github.com/chinesehuazhou/peps-cn/blob/master/StandardsTrack/3141--%E6%95%B0%E5%AD%97%E7%9A%84%E7%B1%BB%E5%9E%8B%E5%B1%82%E7%BA%A7.md)
- PEP3142 -- [在生成器中添加 while](https://github.com/chinesehuazhou/peps-cn/blob/master/StandardsTrack/3142--%E5%9C%A8%E7%94%9F%E6%88%90%E5%99%A8%E4%B8%AD%E6%B7%BB%E5%8A%A0%20while.md)
- PEP3155 -- [类和方法的特定名称](https://github.com/chinesehuazhou/peps-cn/blob/master/StandardsTrack/3155--%E7%B1%BB%E5%92%8C%E6%96%B9%E6%B3%95%E7%9A%84%E7%89%B9%E5%AE%9A%E5%90%8D%E7%A7%B0.md)
- PEP3333 -- [PythonWeb服务器网关接口v1.0.1](https://dwz.cn/si3xylgw) \ [另一篇译文](https://zhuanlan.zhihu.com/p/27600327)