是否有 Python 3.x 发布生命周期的官方指南?

Is there official guide for Python 3.x release lifecycle?

我刚刚注意到 Python 3.2 已从 Python Docs 的下拉选择器中删除。我有一个使用 Python 3.3 的框架,所以我想知道它什么时候会有同样的命运,并在此之前转移到更新的版本。

是否有关于 Python 3.x 获得支持、向后移植等多长时间的官方指南?我在 Python 的主页或通过搜索引擎找不到任何关于 Python 发布生命周期的信息。

每个 Python 版本都会获得一个发布计划 PEP,其中包含有关计划生命周期的信息。对于 3.3:https://www.python.org/dev/peps/pep-0398/#id11

是的,您可以查看大多数版本的 table in the Pythons Developer Guide。具体来说,Python 3.3 将在 2017 年 9 月 29 日之前进行安全修复。

此外,生命周期部分指定的每个分支都存在适当的 PEP(google 可用或来自开发指南 table)。对于 PEP 398 中的 3.3

3.3 will receive bugfix updates approximately every 4-6 months for approximately 18 months. After the release of 3.4.0 final, a final 3.3 bugfix update will be released. After that, security updates (source only) will be released until 5 years after the release of 3.3 final, which will be September 2017.


对于其他积极维护的 Python,PEP 是:

有关这些的详细信息,请参阅 LifespanSchedule 部分。

截至此回答(2021 年 1 月):

  • Python 3.4:已达到生命周期结束
  • Python 3.5:达到生命周期结束
  • Python 3.6:仅安全修复,无 将提供错误修复;生命周期结束:2021-12-23
  • Python 3.7:仅安全修复,无 将提供错误修复;生命周期结束:2023-06-27
  • Python 3.8:将提供安全修复 AND 错误修复;生命终结:2024-10
  • Python 3.9:将提供安全修复 AND 错误修复;生命终结:TBD

来源:https://devguide.python.org/#status-of-python-branches

另请注意,自 Python 3.9 以来,Python 发布周期已更改为 12 个月。参见 PEP-602 for more details。 Python 3.8 和之前的版本过去是 18 个月。这意味着我们应该在 2020 年底之前看到 Python 3.9!