查看原文
其他

Python 2 在 2020 年元旦正式停止官方支持

(点击上方公众号,可快速关注)


编译:技术最前线(TopITnews)


尽管 Python 官方之前公布相应消息,会在 2020 年停止对 Python 2 的官方支持,但并未落实到具体日期。


最近 Python 之父 Guido van Rossum 在官方邮件组回复了对 Python 2.7 何时终结(EOL)的咨询。



Guido van Rossum 在回复表示:


Let's not play games with semantics. The way I see the situation for 2.7 is that EOL is January 1st, 2020, and there will be no updates, not even source-only security patches, after that date. Support (from the core devs, the PSF, and python.org) stops completely on that date. If you want support for 2.7 beyond that day you will have to pay a commercial vendor. Of course it's open source so people are also welcome to fork it. But the core devs have toiled long enough, and the 2020 EOL date (an extension from the originally annouced 2015 EOL!) was announced with sufficient lead time and fanfare that I don't feel bad about stopping to support it at all.


(大意如下):


好了,咱们不玩文字语义游戏了。Python 2.7 的 EOL 日期是 2020 年 1 月 1 日,之后不会有任何更新,源码的安全补丁也不会有了。


2020 年元旦之后,来自 Python 核心开发团队、PSF(Python 软件基金会)、Python.org 的支持,统统都停掉。


如果以后你想要对 2.7 的支持,你得给商业供应商掏钱了。当然了,因为 Python 是开源的,所以也欢迎大家来 fork。


官方核心开发团队已经努力工作够长的时间了,离 2020 年的 EOL 日期还有很长,(之前曾说过在 2015 年就终结),所以停止支持 Python 2,我完全没觉得有啥糟糕的。


2017 年宣布不再支持 Python 2 的软件/库有:



还没迁移到 Python 3 的,应该早做打算啦~



看完本文有收获?请转发分享给更多人

关注「Python开发者」,提升Python技能

    您可能也对以下帖子感兴趣

    文章有问题?点此查看未经处理的缓存