Python 3.10 發(fā)布了第6個維護版本,Python 3.10的錯誤修復(fù)和文檔改進200多個的 commit,以及其他新特性和優(yōu)化。
- PEP 623 – 棄用并準(zhǔn)備移除 PyUnicodeObject 中的 wstr 成員
- PEP 604 – 支持以 X | Y 的形式編寫聯(lián)合類型 (union types)
- PEP 612 – 引入?yún)?shù)規(guī)范變量 (Parameter Specification Variables)
- PEP 626 – 為調(diào)試和其他工具添加精確的行號
- PEP 618 – 將 Optional Length-Checking 添加到 zip
- bpo-12782: 現(xiàn)在正式支持 Parenthesized context managers
- PEP 632 – 棄用 distutils 模塊
- PEP 613 – 引入顯式類型別名
- PEP 634 – 結(jié)構(gòu)化模式匹配 (Structural Pattern Matching):Specification
- PEP 635 – 結(jié)構(gòu)化模式匹配 (Structural Pattern Matching):Motivation & Rationale
- PEP 636 – 結(jié)構(gòu)化模式匹配 (Structural Pattern Matching):Tutorial
- PEP 644 – 要求使用 OpenSSL 1.1.1 或更高版本
- PEP 624 – 刪除 Py_UNICODE encoder API
- PEP 597 – 增加可選的 EncodingWarning