2 ms·
I think the fact that python points to python 2 and python3 points to python 3 does not mean one is default and the other is not. One would think so, yes, but t
by teekert 10y ago
I think the fact that python points to python 2 and python3 points to python 3 does not mean one is default and the other is not. One would think so, yes, but this is a bit of difficult case, for historic reasons. Both versions will need to be present because many things depend on 2 still (ufw for one I believe), python 2 was just there first and hence earned the badge "python". To now switch to explicitly calling it python2 and calling python 3 python would break many things probably.
On a clean 16.04 install, python 3 is present, python 2 is not, however, you still need to call python 3 with "python3" [0]
[0] https://wiki.ubuntu.com/XenialXerus/ReleaseNotes#Python_3 https://wiki.ubuntu.com/XenialXerus/ReleaseNotes#Python_3
Edit: See qznc's remark on the pep, apparently it's even advised the keep "python" pointing to python 2.