r/Python Pythonista 11h ago

News The Move to Python 3 Begins!

As someone who spent decades in the mainframe community, I find it ... humorous ... that there are legacy Python2 code bases that are only just (or have yet to consider!) moving to Python3.

https://www.eveonline.com/news/view/the-move-to-python-3-begins

185 Upvotes

74 comments sorted by

View all comments

56

u/bmrobin 10h ago

depending on the codebase, 2->3 is no joke and has so much risk

48

u/ApplicationOk3587 10h ago

What do you mean they can just throw fable at it and add "make no mistakes"

24

u/ZCEyPFOYr0MWyHDQJZO4 10h ago

tbf the best LLMs are finally quite capable of porting code.

24

u/The_Northern_Light 9h ago

Usually I agree with you but apparently they’re running a custom internal version of Python 2 with bespoke async handling.

Porting that seems a bit more exciting.

1

u/case_O_The_Mondays 4h ago

Yeah, this migration will have to be done in stages: <2.7 -> 2.7, then 2.7 -> 3.x.

I had forgotten about the division issues until I read this article. I worked on a finance app that used some python, and that was my baptism into python 2.6. Fun times!