Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think adoption will improve substantially when major Linux distros start shipping with Python 3.x as the default interpreter. I believe this is the case with Ubuntu 14.04 LTS.


If you're code is still locked to 2.7, what your OS ships with doesn't matter.


Major Linux distros already do.


Name one other than Arch.


Fedora has for a while. I really don't recall regarding versions prior to Ubuntu 13.10, but this version has Py3x as a default.


Ubuntu 13.10 ships with python3, but python2 is still the default python you get when you run /usr/bin/python


I think most distributions don't intend to change /usr/bin/python to 3 in the observeble future as that will break scripts. The meaningful way in which distros work on 2->3 transition is uprading apps installed by default to use 3 so python2 can be thrown out of the default CD image.

Sources: http://radiofreepython.com/episodes/10/ (IIRC this is where I learn this but I'm lazy to listen again to confirm. I recall Barry mentioned some distro that did change /usr/bin/python to 3 and that a lot of stuff broke.) https://wiki.ubuntu.com/Python/3 https://mail.python.org/pipermail/python-dev/2013-July/12752...


My apologies, re 13.10. I forgot about that line in my .bash_aliases file!

I stand by Fedora though with a reasonable degree of confidence!


No, Fedora ships with 2.7.


Well, I maintain: when I'm wrong, I'm wrong! :-)



Well, when I'm wrong, I'm wrong!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: