3 ms·
Surely the ten+ year Python 3-is-incompatible-with-2 saga was also a mistake.
by loeg 5y ago
Surely the ten+ year Python 3-is-incompatible-with-2 saga was also a mistake.
- eru 5y agoThey could have tried to handle this in a better way, but some incompatible changes were useful and probably necessary. Perhaps files could have declared at the top whether they were Python 2 or 3, and the pyc could have been kept as compatible as possible?
- masklinn 5y agoWouldn’t have been very useful, there were not that many incompatible syntactic changes you could not ignore or paper over (string literals were the main issue until u”” was restored) and it would not have helped any with the semantic & api changes.