by newaccoutnas · 7y ago · 0 comments
Also, Python 3.9 is now out which means there's been more than enough time to migrate - https://docs.python.org/3.9/whatsnew/3.9.html
If it's a new project, there are no excuses imho
http://python-future.org/automatic_conversion.html and https://python-modernize.readthedocs.io/en/latest/
Which should get you most of the way there. Look at https://docs.python.org/3/howto/pyporting.html for more info
Any new code written in the last 5 years should have been Python 3 compatible (and tested).
If you’re on Python 2 you’re on a dying platform. If your code is important plan accordingly... something many have failed to do.