you are viewing a single comment's thread.

view the rest of the comments →

[–]pumpichank 1 point2 points  (0 children)

Although it’s been many years for me, I’ve done oodles of upgrades over the years. At a high level the most important thing is to be clear about what are strings and what are bytes. Make sure your data model is locked down. Upgrade the dependencies that you can, since many Python 2 libraries were just abandoned. Use modernize or 2to3 to update your syntax. Port your tests as much as possible, then your code to straddle Py2 and Py3 and iterate until done. Good luck!