Tech

Programming languages: Long live Python 3 – final release of Python 2

In contrast to most programming languages, Python has supported two major versions for almost twelve years and developed them independently – with the release of Python 2.7.18, an era ends: It is the final release for Python 2 and marks the end of support, at the latest now Python developers must migrate to Python 3.x.

Python 3 has been developed since 2006. Release 3.0 was officially released in 2008, and since then it has also been clear that it would one day replace Python 2 because the 3.x series was incompatible with Python 2.x.

Python 2.7 has been in active development since the release of Python 2.6 almost 12 years ago, the 2-line development has been maintained for 20 years. The End of Life (EoL) was originally scheduled for 2016, but was postponed because numerous projects required more time for the migration and Python 2.7 was extremely popular in the community beyond the intended end. New development and practice drifted far apart, Python 2.x has long disappeared from Linux distributions.

The core developers and contributors of CPython may have mastered a mammoth task in the past decade of parallel development to Python 3.x. Major changes such as the backporting of the functions from PEP 466 to the ssl module and the hash randomization took place in the "middle of life" of the two-line line and would never have been added to a branch in maintenance mode.

The many Python 2 users at that time received continuous security updates. The work of two generations of binary developers is in Python 2.x. Of the The call for Python 2.8 became more frequent and ultimately faded away – not unheard, but rejected from the highest side: "There will be no Python 2.8", was the creator of the language Guido van Rossum. His historic announcement of Python 3.0 can be found on the pages of the Python Foundation.

Rainer Grimm's article on heise Developer Mehr provides an inventory with practical information on porting Notes on the end of life of Python 2.x, announces the core team, the announcement of the "nostalgic commemorative release" can be found in the Original email from release manager Benjamin Peterson Read the Python Developer mailing list.

Currently all versions from Python 3.5 upwards receive support, the latest version is Python 3.8. The A RIP tutorial describes incompatibilities between Python 2 and Python 3. There is one for porting detailed instructions in the form of the "Conservative Python 3 Porting Guide".


(sih)

. (tagsToTranslate) End of Life (t) Python (t) Python programming