小红花·文摘
  • 首页
  • 广场
  • 排行榜🏆
  • 直播
  • FAQ
沉浸式翻译 immersive translate
Dify.AI
PEP 828:在异步生成器中支持'yield from'

该PEP旨在使用户能够根据对同步生成器中yield from的理解,推断异步生成器中yield from的行为,详细信息可在Python官方文档中找到。

PEP 828:在异步生成器中支持'yield from'

Newest Python PEPs
Newest Python PEPs · 2026-03-07T00:00:00Z
PEP 827:类型操作

由于泛型函数的存在,类型运算符的评估可能会受到影响,因为它们应用于未解析的类型变量。在mypy的概念验证实现中,类型评估保持不变,依然执行子类型检查,检查运算符和操作数的匹配情况。

PEP 827:类型操作

Newest Python PEPs
Newest Python PEPs · 2026-02-27T00:00:00Z
PEP 826:Python 3.16 发布计划

本文介绍了Python 3.16的开发和发布计划,采用17个月的开发周期,确保每12个月发布一次功能版本,符合PEP 602的要求。

PEP 826:Python 3.16 发布计划

Newest Python PEPs
Newest Python PEPs · 2026-02-23T00:00:00Z

This PEP proposes variant wheels, an extension to packaging:specifications/binary-distribution-format that permits building multiple variants of the same package while embedding additional...

PEP 825: Wheel Variants: Package Format

Newest Python PEPs
Newest Python PEPs · 2026-02-17T00:00:00Z

This PEP proposes allowing Unpack[TypedDict] in the parameter list inside Callable, enabling concise and type-safe ways to describe keyword-only callable signatures. Currently, Callable assumes...

PEP 821: Support for unpacking TypedDicts in Callable type hints

Newest Python PEPs
Newest Python PEPs · 2026-01-12T00:00:00Z
PEP 822:去缩进多行字符串(d-string)

PEP 822 提议在 Python 中增加一种新的多行字符串前缀“d”,用于自动去除缩进,从而提高代码可读性,简化多行字符串的书写,并提升运行效率。

PEP 822:去缩进多行字符串(d-string)

Newest Python PEPs
Newest Python PEPs · 2026-01-05T00:00:00Z

Replace type and module slots with a new structure: a tagged anonymous union with flags. This improves type safety and allows adding new slots in a more forward-compatible way.

PEP 820: PySlot: Unified slot system for the C API

Newest Python PEPs
Newest Python PEPs · 2025-12-19T00:00:00Z

This PEP proposes introducing JSON encoded core metadata and wheel file format metadata files in Python packages. Python package metadata (“core metadata”) was first defined in PEP 241 to use RFC...

PEP 819: JSON Package Metadata

Newest Python PEPs
Newest Python PEPs · 2025-12-18T00:00:00Z

Python’s existing wheel packaging format uses packaging:specifications/platform-compatibility-tags to specify a given wheel’s supported environments. These tags are unable to express modern...

PEP 817: Wheel Variants: Beyond Platform Tags

Newest Python PEPs
Newest Python PEPs · 2025-12-10T00:00:00Z

Pyodide is a distribution of Python for JavaScript runtimes, including browsers. Browsers are a universal computing platform. As with C for Unix family operating systems, in the browser platform...

PEP 818: Adding the Core of the Pyodide Foreign Function Interface to Python

Newest Python PEPs
Newest Python PEPs · 2025-12-10T00:00:00Z
PEP 815:弃用 ``RECORD.jws`` 和 ``RECORD.p7s``

该PEP弃用了RECORD.jws和RECORD.p7s文件,因缺乏工具支持无法提供预期的安全性。用户应参考托管的证明,而非这两个几乎未使用的文件。

PEP 815:弃用 ``RECORD.jws`` 和 ``RECORD.p7s``

Newest Python PEPs
Newest Python PEPs · 2025-12-04T00:00:00Z
PEP 814:添加 frozendict 内置类型

frozendict是一种新的不可变字典类型,旨在防止意外修改,适用于CPython标准库和第三方维护者。它支持类似字典的构造API,保持插入顺序,并支持迭代和哈希。frozendict的哈希值和相等性不受项的顺序影响,并可使用标准类型注解。

PEP 814:添加 frozendict 内置类型

Newest Python PEPs
Newest Python PEPs · 2025-11-12T00:00:00Z

This PEP describes the “pretty print protocol”, a collection of changes proposed to make pretty printing more customizable and convenient.

PEP 813: The Pretty Print Protocol

Newest Python PEPs
Newest Python PEPs · 2025-11-07T00:00:00Z

This PEP outlines the expected support for WASI by CPython. It contains enough details to know what WASI and WASI SDK version is expected to be supported for any release of CPython while official...

PEP 816: WASI Support

Newest Python PEPs
Newest Python PEPs · 2025-11-05T00:00:00Z

This PEP proposes formalizing the membership and responsibilities policies of the Python Security Response Team (PSRT). The PSRT is a “highly trusted cabal of Python developers” which handles...

PEP 811: Defining Python Security Response Team membership and responsibilities

Newest Python PEPs
Newest Python PEPs · 2025-10-22T00:00:00Z
PEP 8107:2026年任期指导委员会选举

本文介绍了2025年Python指导委员会选举的时间安排,投票时间为2025年11月28日至12月12日,提名时间为11月10日至24日,所有活跃的Python核心团队成员均可投票。

PEP 8107:2026年任期指导委员会选举

Newest Python PEPs
Newest Python PEPs · 2025-10-21T00:00:00Z
第703期:PEP 8、Python 3.14中的错误信息、splitlines()及更多内容(2025年10月7日)

PEP 8是Python的编码风格指南,但常被忽视。Python 3.14改进了错误信息,帮助开发者识别常见错误。文章还讨论了splitlines()方法的优势,以及Python社区的最新动态和活动。

第703期:PEP 8、Python 3.14中的错误信息、splitlines()及更多内容(2025年10月7日)

PyCoder’s Weekly
PyCoder’s Weekly · 2025-10-07T19:30:00Z
PEP 810:显式懒加载导入

PEP 810 提出了显式懒加载导入语法,允许开发者标记特定导入为懒加载,从而延迟模块加载,减少启动时间和内存使用,特别适用于命令行工具和大型应用程序。该方法保持向后兼容性,确保现有导入方式不变,帮助开发者更好地管理依赖关系,提升性能。

PEP 810:显式懒加载导入

Newest Python PEPs
Newest Python PEPs · 2025-10-02T00:00:00Z

This PEP proposes a standard mechanism through which arbitrary Python package indices can support “Trusted Publishing,” a misuse-resistant credential exchange scheme already implemented by the...

PEP 807: Index support for Trusted Publishing

Newest Python PEPs
Newest Python PEPs · 2025-09-19T00:00:00Z

The Stable ABI as abi3 can no longer be preserved, and requires replacement. abi2026 will be the first replacement, providing resolution of current known incompatibilities, with planned retirement...

PEP 809: Stable ABI for the Future

Newest Python PEPs
Newest Python PEPs · 2025-09-19T00:00:00Z
  • <<
  • <
  • 1 (current)
  • 2
  • 3
  • >
  • >>
👤 个人中心
在公众号发送验证码完成验证
登录验证
在本设备完成一次验证即可继续使用

完成下面两步后,将自动完成登录并继续当前操作。

1 关注公众号
小红花技术领袖公众号二维码
小红花技术领袖
如果当前 App 无法识别二维码,请在微信搜索并关注该公众号
2 发送验证码
在公众号对话中发送下面 4 位验证码
小红花技术领袖俱乐部
小红花·文摘:汇聚分发优质内容
小红花技术领袖俱乐部
Copyright © 2021-
粤ICP备2022094092号-1
公众号 小红花技术领袖俱乐部公众号二维码
视频号 小红花技术领袖俱乐部视频号二维码