GeoPython 2021

Should We Return to Python 2?
2021-04-23, 18:00–18:30, Track 2

Did you migrate all your projects to Python 3 or kept a backdoor open just in case?


Migration to Python 3 is over, but that's not the end of the journey. Although your code runs with the currently supported Python 3.6 to 3.9, there may be some pieces of code that look obvious to you, but may surprise younger developers who have never seen Python 2 code.

At the end of 2020 I started looking for Python projects on GitHub and helped them to get rid of those Python 2 relics. I'll show you a few recipes beyond the automatic tools, how to make your code modern and prepared for future updates.

And no, we should not return to Python 2. We should get rid of it completely.