Python Software Foundation Announces End Date for Python 2 Support

python rip

Since the release of Python 3.0, la Python Software Foundation started making recommendations to developers to abandon previous versions of the programming language in favor of this latest version.

Last March, Guido van Rossum, creator and project leader Python programming language, announced that support for Python version 2.7 will end on January 1, 2020. After this deadline, Python 2.7 will no longer benefit from any updates, not even for security patches.

This is an ultimatum for the developers still refraining from migrating to Python 3, even though it is still possible for independent developers to fork Python 2.7 to ensure continuity. But for Guido van Rossum, it will no longer be necessary to wait for him and his team to receive updates or even decisions related to Python 2.7 development.

After Guido van Rossum's announcement, he was sure that a more formal announcement would be made in the same direction.

And so it was since the Python Software Foundation (PSF) announced that

“January 1, 2020 would be the day Python 2 will finish. That means we won't improve it after that day, even if someone has a security issue. It should move to Python 3 as soon as possible. "

We released Python 2.0 in 2000. A few years later we realized that we needed to make big changes to improve Python. So in 2006, we started Python 3.0. A lot of people didn't get updated, and we didn't want to hurt them. So for many years we have continued to improve and publish Python 2 and Python 3.

In the ad they mention that there are many things that Python 2 cannot handle. (taking as reference what Python 3 does) plus developers have to divide efforts to continue supporting Python 2 and 3 when it's best to just have a single version to focus on.

We remember that the Python Software Foundation is made up of volunteers to promote, protect and support the advancement of the Python programming language, as well as to support and facilitate the growth of the international community of Python developers.

According to the foundation, this decision was made to help Python users. To better understand each other, the foundation offers the following explanations:

“We released Python 2.0 in 2000. A few years later, we realized that we needed to make big changes to improve Python. So in 2006, we released Python 3.0. A lot of people didn't update and we didn't want to hurt them. Therefore, for many years, we have continued to improve and publish Python 2 and Python 3 «.

"But that makes it difficult to improve Python." There are improvements that Python 2 cannot handle. And we have less time to improve and accelerate Python 3. And if many people continue to use Python 2, Python volunteers for software development suffer. They cannot use the new features in Python 3 to improve the tools they develop.

"We didn't want to harm Python 2 users. So in 2008 we announced that we would be stopping Python 2 in 2015 and asking people to upgrade to Python 2 before then."

Some did, some did not. So in 2014, we extended this deadline to 2020. But as of January 1, 2020, the PSF announces that Python 2 support will end.

For people who will stubbornly continue using Python 2 after that date, the foundation points out that if they "experience security problems catastrophic in Python 2 software ″, the volunteers [PSF] are not going to help.

«Some of these problems will start on January 1st. Other problems will get worse over time, "warns PSF.

By continuing to use Python 3, "you will lose your chances of using good tools because they will only work in Python 3 and it will slow down the people who depend on you and will work with you."

For software written in Python 2, PSF recommends using Python 3 portability tools. Some developers who switched from Python 2 to Python 3 claim that it was the easiest transition ever made.

There is a library to help developers migrate their code to Python 3 and in almost all cases, it is possible to write Python 2 and 3 compatible code, notes one developer.

The content of the article adheres to our principles of editorial ethics. To report an error click here!.

A comment, leave yours

Leave a Comment

Your email address will not be published.



  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   luix said

    It seems like a wise decision, we had enough time to migrate,