News for hackers. Stuff that matters.
Re:Perl 6 is fun by dheera on Monday November 30, 2015 @02:33PM (#10651202)
python will always point to version 2 because version 2 syntax and version 3 syntax are mutually incompatible; one is not a subset of the other. Making python suddenly point to version 3 would break a huge number of scripts already out there, including numerous setup and configure scripts.
Re:Perl 6 is fun by kbenson on Monday November 30, 2015 @02:37PM (#10651231)
I remember Python 1 and Python 2 having this problem, it was done before, so it's not impossible it would be done again.
Re:Perl 6 is fun by dheera on Monday November 30, 2015 @03:02PM (#10651397)
Maybe. But those were the early stages of the language. Python 2 has huge amounts of industrial-scale deployment that many people would prefer not to break. There are also numerous systems in deployment that need to have 2 and 3 running simultaneously on the same machine.
Re:Perl 6 is fun by kbenson on Monday November 30, 2015 @03:11PM (#10651436)
> There are also numerous systems in deployment that need to have 2 and 3 running simultaneously on the same machine.

There were numerous systems that needed both 1 and 2 in the Redhat ecosystem. I agree it likely won't happen again, but mostly because the Linux distros have likely learned their lesson. It's the package managers and Linux distros with included system functionality written in some version of Python which have the ultimate say, and there are much better solutions for the problem now than when Python 2 came out. That said, it's possible some distro will make /usr/bin/python be Python 3 and /usr/bin/python2 be Python 2, if they haven't already. Weirder stuff happens all the time.

Re:Perl 6 is fun by nickysielicki on Monday November 30, 2015 @05:09PM (#10652256)
Ubuntu 16.04 plans for this: https://blueprints.launchpad.net/ubuntu/+spec/foundations-x-...

Arch linux already has.

Re:Perl 6 is fun by kbenson on Monday November 30, 2015 @05:20PM (#10652311)
I imagine /usr/bin/python will be Python 3 then. The cycle continues.
Re:Perl 6 is fun by takeda on Monday November 30, 2015 @04:10PM (#10651801)
I have yet to write a code where I was unable to make it work on both py2 and py3.