Sunsetting Python 2

Sunsetting python 2 vs python 3
Python 2 is set for sunset on January 1, 2020. This means that there will be no updates, improvements or security patches released after this date.

If you are still using Python 2, it is time to upgrade to Python 3.x

Brief Background of transition from Python 2 to Python 3:

Python 2.0 was released in 2000 while Python 3.0 was released in 2006. Many people did not upgrade so the volunteers kept improving and publishing both Python 2 and Python 3.

Obviously, this makes it hard to improve Python. There are improvements Python 2 can’t handle. And if many people keep using Python 2, then that makes it hard for the volunteers who use Python to make software. They can’t use the good new things in Python 3 to improve the tools they make.

In 2008, it was announced that Python 2 will sunset in 2015. In 2014, the sunset was extended till 2020.

What will happen if I do not upgrade by January 1st, 2020?

After January 1st, 2020, no official support for Python 2 will be available. So, if you come across a security hole to patch, or require any other assistance with Python 2, the volunteers maintaining Python will not be able to help you. You will lose chances to use good tools because they will only run on Python 3, and you will slow down people who depend on you and work with you.

Some of these problems will start on January 1. Other problems will grow over time.

How to upgrade from Python 2 to Python 3?

Here are some resources to upgrade Python and port your code from Python 2 to Python 3:

Read about the official statement on sunsetting Python 2 by Python volunteers here.

Image Source: Dev.to

Leave a Comment

%d bloggers like this: