4 ms·
This isn't from experience (I have yet to do a conversion myself), but one thing I've heard is that the str/unicode change revealed that a lot of codebases didn
by Izkata 7y ago
This isn't from experience (I have yet to do a conversion myself), but one thing I've heard is that the str/unicode change revealed that a lot of codebases didn't understand the difference in py2, were using the wrong one at API boundaries, and required a lot of manual work to figure out what it should be for each one so py3 could handle it.
- archi42 7y agoOuch. GP mentioned int/float conversion differences, and coders using the wrong [string/unicode] types doesn't help. I wonder if these are symptoms of duck typing? Edit: 2to3 is what I'm talking about https://docs.python.org/2/library/2to3.html https://docs.python.org/2/library/2to3.html