Python 3.10.6 发布
Python 3.10 发布了第 6 个维护版本,包含 200 个针对 Python 3.10 的错误修复和文档改进的 commit,以及其他新特性和优化。 PEP 623–弃用并准备移除 PyUnicodeObject 中的 wstr 成员 PEP 604– 支持以 X | Y 的形式编写联合类型 (union types) PEP 612– 引入参数规范变量 (Parameter Specification Variables) PEP 626–为调试和其他工具添加精确的行号 PEP 618– 将 Optional Length-Checking 添加到 zip bpo-12782: 现在正式支持 Parenthesized context managers PEP 632– 弃用 distutils 模块 PEP 613– 引入显式类型别名 PEP 634– 结构化模式匹配 (Structural Pattern Matching):Specification PEP 635– 结构化模式匹配 (Structural Pattern Matching):Motivation &a...