3 ms·
Python 2 to Python 3 breakage is the worst thing that ever happened to Python. Even simple things like retaining the print statement (which could certainly coex
by musicale 7y ago
Python 2 to Python 3 breakage is the worst thing that ever happened to Python. Even simple things like retaining the print statement (which could certainly coexist peacefully with the print() function) would have made things easier.
It's not too late though. We could add better backward compatibility into Python 3.
- acdha 7y agoThe print function replacement can be done in a few seconds using at least 3 different tools with no risk (futurize, modernize, pyupgrade). The amount of time spent talking about why it’s hard to change greatly exceeds the time required to do so.
- mixmastamyk 7y agoUse logging for non-trivial apps.