3 ms·
Acknowledging that I have obviously thought about it a lot less than this guy, my experience of switching to Py3 hasn't been that bad. I've been using Py3 exclu
by cookiecaper 12y ago
Acknowledging that I have obviously thought about it a lot less than this guy, my experience of switching to Py3 hasn't been that bad. I've been using Py3 exclusively for about 3 years now. Everything I want has been ported, except one or two packages which have Py3-compatible successors. I have been thoroughly enjoying the improvements of Python 3.
http://caniusepython3.com http://caniusepython3.com 's count is misleading because it appears to include almost all packages hosted in PyPI. Many of these haven't been updated in many years and many were never very serious projects. https://python3wos.appspot.com https://python3wos.appspot.com is much more fair, cataloging 200 widely-used Python libraries. Only 17 of these don't have a Python 3 version yet. I remember when 80% of that wall was red.
I use Arch. Arch shipped Python 3 as the default Python in 2011 iirc. It was bumpy for a while, but now I scarcely ever have problems with it. I think the most important step for Python 3's adoption is to get RHEL and Debian (and their respective downstreams) to promote Python 3 to the default. It's time; the old arguments that it's an inordinate amount of work to support Py3 as the default don't really hold anymore. RHEL and Debian have huge cultural influence by deeming a version "enterprise-ready" and making it default.
Here's to Python 3. We're on the cusp of killing off 2 for new development. Let's not backslide.
- keypusher 12y agoI do agree that if we see RHEL go to python3 as the default that would usher in major changes. However, Red Hat does not like to break backwards compatibility for its customers, and shipping python3 as the default would do that. This isn't an issue for Arch, as they do not rely on enterprise support contracts for their business model. However, this is part of the reason you don't see mission critical infrastructure running Arch. Also keep in mind that important operating system tools in rhel/fedora/etc rely on python, such as the yum package manager.
- johnny22 12y agoFedora 22 is/was switching the default package manager to dnf over yum. Fedora 23 should have Python 3 as default (although /usr/bin/python will still point to python 2.x) https://fedoraproject.org/wiki/Changes/Python_3_as_Default https://fedoraproject.org/wiki/Changes/Python_3_as_Default
- keypusher 12y agoInteresting. The page you linked actually seems to suggest they are removing /usr/bin/python or symlinking it to python3. It's part of the scope section. As far as I understand, whatever /usr/bin/python points to is "the default", so I'm not sure how you could switch "the default" and still have /usr/bin/python point to 2.x. So anyway, if Fedora goes to python3 in 2 years (23 release?) then it would probably be at least 5 years before we see RHEL pick up those changes, especially if it includes a change to the package manager and Anaconda (the os installer), both of which are central to RHEL. My guess is that Red Hat are going to be very careful pulling these changes in for enterprise.