Fedora to switch to Python 3 by default
Fedora to switch to Python 3 by default
Posted Oct 24, 2013 18:36 UTC (Thu) by anatolik (guest, #73797)In reply to: Fedora to switch to Python 3 by default by rahulsundaram
Parent article: Fedora to switch to Python 3 by default
Well if you do not want to change your server configuration why do you install new version of Fedora at all? Arch and Fedora are known by their philosophy of living on the edge. And they first who changed python to v3 by default (somebody should be the first). If you do not like changes and do not want to make your scripts pythonv3 compatible then use other distro, thankfully there are a lot of different flavors with different release/support schedules.
Posted Oct 24, 2013 18:54 UTC (Thu)
by rahulsundaram (subscriber, #21946)
[Link] (9 responses)
Posted Oct 24, 2013 19:01 UTC (Thu)
by anatolik (guest, #73797)
[Link] (8 responses)
Arch moved to Python3 Oct'2010 [1], PEP was accepted Feb'2012 [2]
[1] https://www.archlinux.org/news/python-is-now-python-3/
Posted Oct 24, 2013 19:06 UTC (Thu)
by rahulsundaram (subscriber, #21946)
[Link] (7 responses)
Posted Oct 24, 2013 19:22 UTC (Thu)
by anatolik (guest, #73797)
[Link] (6 responses)
> It is not too late to revert the change either. They really should do it.
Posted Oct 24, 2013 19:30 UTC (Thu)
by rahulsundaram (subscriber, #21946)
[Link]
So? That has nothing to do with user scripts.
"Hopefully Fedora will switch to Python3 as well. No more procrastination! Python community should more forward."
Fedora will switch to Python 3 as will other distributions but unlike Arch will not make /usr/bin/python point to Python 3 by default. This entire conversation has nothing to do with procrastination or not moving forward.
Posted Oct 24, 2013 19:31 UTC (Thu)
by khim (subscriber, #9252)
[Link]
IOW: they broke system's ABI for no good reason they spent a lot of time trying to fix it. Apparently they have too much time on their hands. It's their choice. They have the right to do anything they want in their system but upstream will continue to use /usr/bin/python for python2-only scripts. I know of at least one project which does not plan to support system where /usr/bin/python is Python3 any time soon.
Posted Oct 24, 2013 19:57 UTC (Thu)
by dlang (guest, #313)
[Link] (3 responses)
>Arch developers made a huge effort on making sure all the packages work with Python3. And were active at fixing all the incompatibilities.
you just aren't getting it.
The issue isn't with Python scripts that Arch provides, it's with Python scripts from other sources, including scripts written in-house.
It's all those scripts that you have opted to break needlessly
Posted Oct 25, 2013 0:01 UTC (Fri)
by rahvin (guest, #16953)
[Link] (2 responses)
I get why you are mad, stuff like this is the reason I stopped using Gentoo, but the fact is that what Arch does or doesn't do frankly doesn't matter.
Posted Oct 25, 2013 15:52 UTC (Fri)
by leifbk (guest, #35665)
[Link] (1 responses)
A Gentoo system has both Python 2 and 3 installed. You can choose yourself if you want to use Python 2 or 3 as default for user scripts: Your comment that «stuff like this is the reason I stopped using Gentoo» is just plain BS. If you can't handle tools like eselect, you probably should stick to Ubuntu.
Posted Oct 26, 2013 4:03 UTC (Sat)
by rahvin (guest, #16953)
[Link]
I don't play the game jump to conclusions and I suggest you stop playing it here as it's really not appropriate in this forum, you will find it's played frequently at slashdot where you can satisfy your craving for it.
Fedora to switch to Python 3 by default
Fedora to switch to Python 3 by default
So obviously Arch did not break any PEP at the time of migration.
[2] https://mail.python.org/pipermail/python-dev/2012-Februar...
Fedora to switch to Python 3 by default
Fedora to switch to Python 3 by default
Arch developers made a huge effort on making sure all the packages work with Python3. And were active at fixing all the incompatibilities.
Hopefully they will not do it. And I will vote against switching python to v2. Arch successfully uses python3 as a default version for 2 years now and those who needs python2 can easily install one. I have a number of packages that use python3 and python2, I do not see any problem with this. Hopefully Fedora will switch to Python3 as well. No more procrastination! Python community should more forward. Look at the Ruby community - it is a good source of inspiration for Python developers.
Fedora to switch to Python 3 by default
Fedora to switch to Python 3 by default
Arch developers made a huge effort on making sure all the packages work with Python3. And were active at fixing all the incompatibilities.
Hopefully they will not do it.
Fedora to switch to Python 3 by default
Fedora to switch to Python 3 by default
Fedora to switch to Python 3 by default
balapapa ~ # eselect python list
Available Python interpreters:
[1] python2.7 *
[2] python3.2
Fedora to switch to Python 3 by default