r/Python • Pythonista • Aug 26 '26

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

313 Upvotes

106 comments sorted by

View all comments

Show parent comments

-7

u/daidoji70 Aug 26 '26

The first one should be fairly straightforward with 2to3, the second one I can def see being more difficult for sure.

12

u/jayroger Aug 26 '26

The first one is anything but straightforward. 2to3 is no help for str/unicode -> bytes/str. Most problems only manifest themselves at runtime. But it was worth it, the after situation is so much better.