Re:Python past, present, and future with Guido van Rossum [a...
by deckiedan on Thursday February 23, 2017 @07:16AM
(#13713288)
On most OSes, open a terminal and type 'python', and you get a python2 REPL. That's reason enough to write a lot of scripty admin / automation stuff in python2. And then if you need to extend that, it's easy to just continue on in python2. It's there, it works, it's stable, you don't have to maintain versions in case of security issues, the OS package does it for you.
[ Parent
| on HN ]
Re:Python past, present, and future with Guido van Rossum [a...
by falcolas on Thursday February 23, 2017 @08:31AM
(#13713667)
You can also open a terminal and type 'python3', and get a Python 3 REPL.
I only learned recently that it's a compatibility decision that means that plain 'python' will always be Python 2. However, you're starting to see Python 3 distributed right alongside it in most recent distros.
Re:Python past, present, and future with Guido van Rossum [a...
by mkesper on Thursday February 23, 2017 @07:23AM
(#13713327)
It's high time to change that default. I'm glad django will not support Python2 after 2020, making clear it's legacy.
Re:Python past, present, and future with Guido van Rossum [a...
by ZenoArrow on Thursday February 23, 2017 @08:12AM
(#13713533)
To give another example, Ubuntu is moving towards Python 3 by default, the plan is to have it as the only pre-installed Python version by 18.04 LTS, which is only a year away.
Re:Python past, present, and future with Guido van Rossum [a...
by deckiedan on Thursday February 23, 2017 @08:03AM
(#13713487)
Oh absolutely. There's a few linux distros starting to ship python3 by default, which is great. It's happening far too slowly.
Speaking of speed, I hear 3.7 should finally be able to beat 2.7 for most benchmarks, which is pretty sweet.
Re:Python past, present, and future with Guido van Rossum [a...
by Franciscouzo on Thursday February 23, 2017 @01:31PM
(#13716378)
There's a reason the python command points to Python 2: https://www.python.org/dev/peps/pep-0394/
Re:Python past, present, and future with Guido van Rossum [a...
by mkesper on Friday February 24, 2017 @03:03PM
(#13727299)
https://www.python.org/dev/peps/pep-0394/#id16 It is anticipated that there will eventually come a time where the third party ecosystem surrounding Python 3 is sufficiently mature for this recommendation to be updated to suggest that the python symlink refer to python3 rather than python2 .