On Wed, Nov 23, 2022 at 2:55 AM Alexander Kanavin
<alex.kana...@gmail.com> wrote:
>
> On Wed, 23 Nov 2022 at 10:59, Ross Burton <ross.bur...@arm.com> wrote:
> > > The serious need is that we need to patch all the scripts that ask for 
> > > python to add a 3 to it. And there will be more of these going forward, 
> > > not less. I’d rather just always have python available. Not a problem 
> > > worth deliberating over to be honest.
> >
> > But as per PEP 0384, /usr/bin/python could be python2, or not there at all. 
> >  Software should use python3.
>
> But would anyone pay attention to the PEP when writing new scripts?

they should be pointed to PEP and I hope python tutors teach it from day 1.

If
> /usr/bin/python is available by default, as it is already on Fedora,

There perhaps is a reason for that in Fedora, but it is in conflict
with what PEP0384 is saying

> and probably will be on Debian (in testing/sid there is no choice
> between 2 and 3 anymore - 2 is gone, and that clears the road to have
> python->python3 installed by default), then it's not unreasonable to
> have the script use that. I wouldn't want to know or care about
> python's historical baggage. That's why I'm saying we're going to see
> more upstreams that are just having #!/usr/bin/python and don't give a
> damn, even when you point it out to them.
>

If you want to ignore the baggage then know that there is no
/usr/bin/python anymore.

> Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#173724): 
https://lists.openembedded.org/g/openembedded-core/message/173724
Mute This Topic: https://lists.openembedded.org/mt/95156228/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to