Re: [PATCH] diffconfig: use python3 instead of python in Shebang line

From: Joe Perches
Date: Fri Jan 22 2021 - 13:02:09 EST


On Sat, 2021-01-23 at 02:16 +0900, Masahiro Yamada wrote:
> On Sat, Jan 23, 2021 at 12:51 AM Joe Perches <joe@xxxxxxxxxxx> wrote:
> >
> > On Fri, 2021-01-22 at 07:06 +0900, Masahiro Yamada wrote:
> > > I use Ubuntu, where /usr/bin/python is a symlink
> > > to /usr/bin/python3.
> >
> > Odd, here:
> >
> > $ lsb_release -a
> > No LSB modules are available.
> > Distributor ID: Ubuntu
> > Description: Ubuntu 20.10
> > Release: 20.10
> > Codename: groovy
> >
> > $ ls /usr/bin/python -la
> > lrwxrwxrwx 1 root root 7 Apr 15 2020 /usr/bin/python -> python2
>
> Hmm, presumably I changed the symlink path by myself
> although I do not remember... Sorry for confusion.

Or maybe it's because my system has only been upgraded since
about Ubuntu 8.04... Maybe it's time for a fresh reinstall..

I believe that Ubuntu now only installs python3 since 18.04

https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes

Other base system changes since 16.04 LTS

The gpg binary is provided by gnupg2

For new installs, a swap file will be used by default instead of a swap partition.

Python 2 is no longer installed by default. Python 3 has been updated to 3.6. This is the last LTS release to include Python 2 in main.