PEP 0 -- Index of Python Enhancement Proposals PEP 7 -- Style Guide for C Code,C扩展 PEP 8 -- Style Guide for Python Code,编码规范(必读) PEP 20 -- The Zen of Python,Python之禅 PEP 202 -- List Comprehensions,列表生成式 PEP 274 -- Dict Comprehensions,字典生成式 PEP 234 -- Iterators,迭代器 PEP 257 -- Docstring Conventions,文档注释规范 PEP 279 -- The enumerate() built-in function,enumerate枚举 PEP 282 -- A Logging System,日志模块 PEP 285 -- Adding a bool type,布尔值(建议阅读《Python对象的身份迷思:从全体公民到万物皆数》) PEP 289 -- Generator Expressions,生成器表达式 PEP 318 -- Decorators for Functions and Methods,装饰器 PEP 342 -- Coroutines via Enhanced Generators,协程 PEP 343 -- The "with" Statement,with语句 PEP 380 -- Syntax for Delegating to a Subgenerator,yield from语法 PEP 405 -- Python Virtual Environments,虚拟环境 PEP 471 -- os.scandir() function,遍历目录 PEP 484 -- Type Hints,类型约束 PEP 492 -- Coroutines with async and await syntax,async/await语法 PEP 498 -- Literal String Interpolation Python,字符串插值 PEP 525 -- Asynchronous Generators,异步生成器 PEP 572 -- Assignment Expressions,表达式内赋值(最争议) PEP 3105 -- Make print a function,print改为函数 PEP 3115 -- Metaclasses in Python 3000,元类 PEP 3120 -- Using UTF-8 as the default source encoding PEP 3333 -- Python Web Server Gateway Interface v1.0.1,Web开发 PEP 8000 -- Python Language Governance Proposal Overview,GvR老爹推出决策层后,事关新决策方案