Python 2 forever: 3 projects that will keep Python 2 alive

The switch from Python 2 to Python 3 has been rocky, but all signs point to Python 3 pulling firmly into the lead. It’s broadly compatible with several libraries,a major third-party implementation of Python iskeeping pace with version 3, and there’s an encouraging rate of adoption by cloud providers for application support. But there are still plenty of efforts to keep Python 2 alive in one form or another. In theory, there’s no reason it can’t happen. The default implementation of Python is open source, so it can easily be forked and maintained separately. Plus, nothing is keeping other implementations of Python from continuing Python 2 support on their own. Here’s how developers can carry the Python 2 torch well into the futureand reasons they won’t. Tauthon, originally labeled Python 2.8 but rechristened so as not to be confused with an official Python implementation, is one of the most straightforward efforts to keep Python 2 alive. Tauthon is at heart a fork of Python 2.7.13, so existing Python 2.x software can run as-is on it. However, many of the most loved features from Python 3, such as async/await and keyword-only arguments, will be backported to it. But it will preserve one feature that’s kept a lot of people faithful to Python 2 in the first place: print will remain a statement in Tauthon rather than a function. The PyPy runtime is popular because its built-in JIT provides major speed boosts to Python code. It also has long favored Python 2 over Python 3.

Read Full Article at