Re:A regression is the kernel not giving the same result wit...
by mikeash on Thursday November 02, 2017 @09:27AM
(#15610185)
Python 3 is a similar language with a similar name to Python 2. It shouldn’t be considered an update, nor applied as one.
[ Parent
| on HN ]
Re:A regression is the kernel not giving the same result wit...
by taeric on Thursday November 02, 2017 @11:36AM
(#15611338)
I 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?)
Re:A regression is the kernel not giving the same result wit...
by majewsky on Thursday November 02, 2017 @10:29AM
(#15610678)
Yet a huge number of Python modules are both valid Python 2 code and Python 3 code.
Re:A regression is the kernel not giving the same result wit...
by mikeash on Thursday November 02, 2017 @10:50AM
(#15610884)
Sure, 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.
Re:A regression is the kernel not giving the same result wit...
by magicalhippo on Thursday November 02, 2017 @09:47AM
(#15610345)
Yet the Python 3 executable has the same name as the Python 2 executable...
Re:A regression is the kernel not giving the same result wit...
by vetinari on Thursday November 02, 2017 @10:08AM
(#15610487)
Only on Arch and Windows... All other Linux distribution have python3 and macOS binary is also python3.
Re:A regression is the kernel not giving the same result wit...
by computerfriend on Thursday November 02, 2017 @10:41AM
(#15610791)
No they don't. At least one of them has a number after it.
Re:A regression is the kernel not giving the same result wit...
by magicalhippo on Thursday November 02, 2017 @05:56PM
(#15614654)
I got both Python 2 and Python 3 installed on my machine, from the official distribution, and both have "python.exe", no numbers.