Hồ Chí Minh
kiwifarms.net
- Joined
- Jul 11, 2021
It took 10 years to replace python2 with python3, which differs in really minor ways and can be auto-translated.
Not really; if I have "some_func_call()" and it returned a str in Python 2 but a bytes in 3 then your code will break, and Python's dynamic nature made it hard to detect, much less auto-translate.
Things like the print function or change of the division operator was minor stuff that could be auto-translated, but the changes in string behaviour made things very tricky.