This is good: - Python 2 support officially ends somewhere in 2020 - most popular packages are now compatible with Python 3 - Python 3.7 performs about as well as 2.7 with future release expected to be better Although it still took way too long, if you consider Python 3.0 was released about 10 years ago.
Got a source for the performance regressions? Some things are faster in Python 3 than 2 "Most popular" packages, which ones? Most moved a long time ago to Python 3
Python 2 will be replaced with Python 3 in the next RHEL major release
31–40 of 341 posts
Re: Python 2 will be replaced with Python 3 in the next RHEL major release
#32They're two different languages. I don't see why python3 "replaces" python2 anymore than say ruby does. IMO they should have separate namespaces and invocation.
Re: Python 2 will be replaced with Python 3 in the next RHEL major release
#33Re: Python 2 will be replaced with Python 3 in the next RHEL major release
#34Earlier quoted context omitted.
Perl6
Well, they didn't really get away with it. Perl isn't as widely used as it used to be. Besides, in spite of the name Perl6 isn't compatible with Perl5 but rather a completely new language.
Re: Python 2 will be replaced with Python 3 in the next RHEL major release
#35They're two different languages. I don't see why python3 "replaces" python2 anymore than say ruby does. IMO they should have separate namespaces and invocation.
They do -- it's trivial to have python2 installed on the same system as python3. The deal with RHEL is that they will no longer include python2 packages at all. That isn't really to say that somebody else won't make packages.
For some reason "replaces X with Y" suggests to me that they swapped one for the other (e.g. /usr/bin/python) which seems error-prone.
Re: Python 2 will be replaced with Python 3 in the next RHEL major release
#36Earlier quoted context omitted.
Got a source for the performance regressions? Some things are faster in Python 3 than 2 "Most popular" packages, which ones? Most moved a long time ago to Python 3
> "Most popular" packages, which ones? Most moved a long time ago to Python 3 http://py3readiness.org/
There's Fabric3, MySQL libs that work with Python3 (and Django), futures are a backport of a feature from Python3, uWSGI and BeautifulSoup might be worrying but the site shows mostly green
At this point if the library hasn't been ported to Py3, someone else would have done it for you or abandoned it.
Edit: Thanks for the updates!
Re: Python 2 will be replaced with Python 3 in the next RHEL major release
#37Earlier quoted context omitted.
Not to mention the loss of tuple unpacking in function signatures. Even if i felt morally wrong about it, for the last few years I've been writing python2 with a few `from __future__`s at the top since it was fastest and most featureful and had all the libraries.
I'm not sure that tuple unpacking in function signatures is any great loss. It's a feature I hardly ever saw used and if you do need to unpack an argument then you can do so in the first line of the function's code.
Re: Python 2 will be replaced with Python 3 in the next RHEL major release
#38Anyone know if /usr/bin/python will point to python3?
~ ls -las /usr/bin/python
0 lrwxrwxrwx 1 root root 7 Jan 5 02:36 /usr/bin/python -> python3Re: Python 2 will be replaced with Python 3 in the next RHEL major release
#39This is good: - Python 2 support officially ends somewhere in 2020 - most popular packages are now compatible with Python 3 - Python 3.7 performs about as well as 2.7 with future release expected to be better Although it still took way too long, if you consider Python 3.0 was released about 10 years ago.
The double standard when it comes to Python is mindblowing. No other language could have gotten away with such ridiculous fragmentation and perf regression for such a long period of time.
Re: Python 2 will be replaced with Python 3 in the next RHEL major release
#40Earlier quoted context omitted.
> "Most popular" packages, which ones? Most moved a long time ago to Python 3 http://py3readiness.org/
Thanks for proving my point There's Fabric3, MySQL libs that work with Python3 (and Django), futures are a backport of a feature from Python3, uWSGI and BeautifulSoup might be worrying but the site shows mostly green At this point if the library hasn't been ported to Py3, someone else would have done it for you or abandoned it. Edit: Thanks for the updates!