31 ms·
The differences between Python 2 and 3 are not just syntax. Fixing syntax is easy; 2to3 can do that.
by witty_username 10y ago
The differences between Python 2 and 3 are not just syntax.
Fixing syntax is easy; 2to3 can do that.
- jerf 10y agoConsidered from the point of view of the entire language landscape, the point is that they were minor little changes. Python 3 is not anything like the way Perl 6 should never have been named "Perl" at all... it's the same language with some minor fixes that did not bring benefits anywhere near commensurate with the costs. (It was one of the great learning experiences of my software career, because I was full-throatedly in favor of Python 3 back when it was proposed. My support counted for nothing, so I'm not "responsible" for it in any way, but I still was very wrong.)
- witty_username 10y agoIf they were minor changes then 2to3 should work perfectly. But it doesn't; for example 2to3 can't always fix the shift to Unicode by default.