当前支持的Python版本是什么?

2024-03-28 17:49:08 发布

您现在位置:Python中文网/ 问答频道 /正文

Python2.7在2019年底(PEP 373)结束了使用寿命。但是,当前支持的Python版本有哪些

我意识到“受支持”可能意味着很多事情(例如,AWS Lambda目前支持Python 3.6、3.7和3.8)。为了客观地回答这个问题,让我们假设一下:哪些CPython版本仍然接收安全更新,以及多长时间


Tags: lambda版本awscpython事情pep多长时间意识
1条回答
网友
1楼 · 发布于 2024-03-28 17:49:08

Status of current python branches

Python 3.6 Lifespan

3.6 will receive bugfix updates approximately every 3 months for about 24 months. Sometime after the release of 3.7.0 final, a final 3.6 bugfix update will be released. After that, it is expected that security updates (source only) will be released as needed until 5 years after the release of 3.6 final, so until approximately 2021-12.

Python 3.7 Lifespan

3.7 will receive bugfix updates approximately every 3 months for about 24 months. Sometime after the release of 3.8.0 final, a final 3.7 bugfix update will be released. After that, it is expected that security updates (source only) will be released as needed until 5 years after the release of 3.7 final, so until approximately 2023-06.

Python 3.8 Lifespan

3.8 will receive bugfix updates approximately every 1-3 months for approximately 18 months. After the release of 3.9.0 final, a final 3.8 bugfix update will be released. After that, it is expected that security updates (source only) will be released until 5 years after the release of 3.8 final, so until approximately October 2024.

Python 3.9 Lifespan

3.9 will receive bugfix updates approximately every month for approximately 12 months. After the release of 3.10.0 final, a final 3.9 bugfix update will be released. After that, it is expected that security updates (source only) will be released until 5 years after the release of 3.9 final, so until approximately October 2025.

相关问题 更多 >