Instagram: 40% Py3 to 99% Py3 in 10 months (Posting On Python-List Prohibited)
Chris Angelico
rosuav at gmail.com
Wed Jun 21 01:41:26 EDT 2017
On Wed, Jun 21, 2017 at 3:17 PM, Paul Rubin <no.email at nospam.invalid> wrote:
> Steven D'Aprano <steve at pearwood.info> writes:
>> genuinely good reason... (Which might include "the customer insists",
>> or "yeah, I know it sucks, but politics".)
>
> I think the current LTS versions of Ubuntu and Debian both come with
> Python 2. Not sure about Centos/RHEL. Those seem like ok reasons to
> me.
Current LTS versions of Debian and Ubuntu come with some version of
Py3, and some version of Py2.7. You can see the exact 3.x versions
here:
https://packages.debian.org/search?keywords=python3&searchon=names&suite=all§ion=all&exact=1
https://packages.ubuntu.com/search?keywords=python3&searchon=names&exact=1&suite=all§ion=all
I don't know how to check RHEL package lists without having a license,
but RHEL 4 and 5 came out before Py3 was released. So "we need to
support RHEL 4" would be a legit reason to avoid Python 3 - but it's
also a reason to avoid Python 2.7, as RHEL 4 ships with Python 2.3 or
2.4 or something. Also, I believe there are backports available,
though I don't have proof of that.
Use Python 3.
ChrisA
More information about the Python-list
mailing list