IT资讯 Python 3.10.6 发布

sakkie · 2022-08-04 09:30:06 · 热度: 45

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 & Rationale
  • PEP 636 – 结构化模式匹配 (Structural Pattern Matching):Tutorial
  • PEP 644 – 要求使用 OpenSSL 1.1.1 或更高版本
  • PEP 624 – 删除 Py_UNICODE encoder API
  • PEP 597 – 增加可选的 EncodingWarning

详情。

 

为您推荐与 python 相关的帖子:

暂无回复。
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册