Python之父公布最新消息,Python2在2020年元旦正式停止官方支持
盡管 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 Web 開發框架 Django 2.0 發布,不再支持 Python 2》
-
《Numpy 庫準備放棄支持 Python 2》
還沒遷移到 Python 3 的,應該早做打算啦~