python 3.11.0a5,即 Python 3.11 第五个 alpha 版本目前已发布。

Python 3.11.0a5, the fifth alpha version of Python 3.11, is now out.

During the alpha stage, features may be added with each release until the beta stage (2022-05-06). If necessary, features can also be modified or removed until the candidate stage (2022-08-01). Please keep in mind that this is a preview release and not recommended for production use.

Major changes in Python 3.11.0

PEP 657 – Introduce fine-grained Error Locations in error message reporting
PEP 654 – Exception Groups and except*
PEP 673 - Self Types
PEP 646 - Variadic Generics
The Faster Cpython Project has produced some exciting results: this version of CPython 3.11 is about 19% faster on the geometric mean of the PyPerformance benchmark compared to 3.10.0
(Hey, fellow core developer, if a feature you find important is missing from this list, let Pablo know.)

The next version will be 3.11.0a6, tentatively scheduled for 2022-02-28 update.

在 alpha 阶段,每个版本可能都会添加功能,直到进入 beta 阶段 (2022-05-06)。如有必要,也可以修改或删除特性,直到进入候选阶段 (2022-08-01)。请记住,这是一个预览版本,不建议在生产环境中使用。

Python 3.11.0 主要变化

  • PEP 657 – 在错误信息报告中引入细粒度的 Error Locations
    PEP 654 –  Exception Groups and except*
    PEP 673  - Self 类型
    PEP 646  - 可变参数泛型 (Variadic Generics)
    Faster Cpython Project 已经出现了一些令人振奋的结果:与 3.10.0 相比,这个版本的 CPython 3.11 在 PyPerformance 基准的几何平均值上快了大约 19%
    (Hey, fellow core developer, if a feature you find important is missing from this list, let Pablo know.)

下一个版本将是 3.11.0a6,暂定于 2022-02-28 更新。

 

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。