r/programming • u/output_broadcast • Aug 25 '26
EVE Online: The Move to Python 3 Begins!
https://www.eveonline.com/news/view/the-move-to-python-3-begins
802
Upvotes
r/programming • u/output_broadcast • Aug 25 '26
View all comments
Show parent comment
88
u/FlukyS Aug 25 '26 edited Aug 25 '26
I've done dozens of migrations from 2.6 and 2.7 to 3, it isn't hard really, it is just whack a mole. What I'd say though most of the changes I've ever done was just straight up rewriting things that were horrible before but just weren't touched more than just syntax differences or whatever. People made a big deal about requiring for instance print to have brackets but if your service had a million print statements then you are already going to be much happier spending time moving to use logging or maybe pruning unnecessary stuff. Strings in Python3 in particular are much nicer with fstrings, templating...etc and the debugging in the newest versions of Python are a dream.
EDIT: Just for examples of stuff I've had to do, almost every 2.* migration I've done has involved completely rewriting networking endpoints either from urllib to requests or stuff like Twisted to FastAPI or before that aiohttp. Syntax is easy, the library migrations are usually hard breaks because it is easier just to start fresh.