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

From: Masahiro Yamada
Date: Thu Jan 21 2021 - 17:08:48 EST


On Fri, Jan 22, 2021 at 5:35 AM Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
>
> On Thu, Jan 21, 2021 at 10:31 PM Andy Shevchenko
> <andy.shevchenko@xxxxxxxxx> wrote:
> >
> > On Thu, Jan 21, 2021 at 10:28 PM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
> > >
> > > On Fri, Jan 22, 2021 at 2:17 AM Scott Branden
> > > <scott.branden@xxxxxxxxxxxx> wrote:
> > > >
> > > > Use python3 instead of python in diffconfig Shebang line.
> > > > python2 was sunset January 1, 2000 and environments do not need
> > > > to support python any more.
> >
> > > Just from curiosity, what problem is this solving?
> > >
> > > Is there a distribution where 'python' does not exist,
> > > but 'python3' does ?
> >
> > Yes. Called surprise surprise Debian
> > An it's a rare case when I agree with them.
>
> For the record, you seems haven't noticed:
> https://lkml.org/lkml/2020/12/9/446


Ohh, I missed it.
I know many patches are falling into a crack.

To respect the first submitter, and it solves
another file, I just picked up Andy's one.


I use Ubuntu, where /usr/bin/python is a symlink
to /usr/bin/python3.

I just booted Debian in a VM, and confirmed
/usr/bin/python no longer exists.

Thanks for the explanation.




--
Best Regards
Masahiro Yamada