3 ms·
Python 3 is a similar language with a similar name to Python 2. It shouldn’t be considered an update, nor applied as one.
by mikeash 9y ago
Python 3 is a similar language with a similar name to Python 2. It shouldn’t be considered an update, nor applied as one.
- magicalhippo 9y agoYet the Python 3 executable has the same name as the Python 2 executable...
- vetinari 9y agoOnly on Arch and Windows... All other Linux distribution have python3 and macOS binary is also python3.
- computerfriend 9y agoNo they don't. At least one of them has a number after it.
- magicalhippo 9y agoI got both Python 2 and Python 3 installed on my machine, from the official distribution, and both have "python.exe", no numbers.
- majewsky 9y agoYet a huge number of Python modules are both valid Python 2 code and Python 3 code.
- mikeash 9y agoSure, they're similar enough that a single file can be valid in both with less effort than most language pairs. That doesn't mean it's an update, any more than C is an upgrade to Lisp because I can make a file that's valid in both.
- taeric 9y agoI get the idea, but this is user hostile. If it shouldn't be seen as an upgrade, it should have had a new name. :( Especially if it is going to be a forced migration someday? (I'm assuming python2 support will eventually stop?)