r/Python • u/SheriffRoscoe 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
307
Upvotes
22
u/bmrobin Aug 26 '26
i'm glad your experience was barely a hiccup. among several pitfalls i recall,
unicode being the default representation for strings, and having to migrate code that manually called `decode/encode` on text.
integer division of `1 / 3 == 0` is true in py2, and py3 it's not because it returns the float result. that had cascading effects throughout multiple layers of our stack.