[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: py2.7 used by default when py2 and py3 are both available

From: Branko Čibej <brane_at_apache.org>
Date: Fri, 15 May 2020 20:14:17 +0200

On 15.05.2020 19:19, Daniel Shahaf wrote:
> I just noticed that when I ran «make check» on trunk, it was run using
> python 2.7. I hadn't pass any Python-related flags to autogen.sh/configure.
>
> I presume py2.7 was used because build/find_python.sh used whatever the
> "python" executable in my $PATH is.
>
> Looking at find_python.sh, that's exactly what it does. Shouldn't we
> change it to use Python 3 in preference to Python 2, given that we've
> documented py2 as no longer supported?

Did we actually document that? My impression was that we want to support
both.

It would make sense to prefer Python3 over Python2 by default if both
are available, but I wouldn't go further than that. The order of
executable names should be [python3, python, python2], IIUC the naming
conventions.

-- Brane
Received on 2020-05-15 20:14:20 CEST

This is an archived mail posted to the Subversion Dev mailing list.