[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] python: prioritize python 3.x over 2.x
From: |
Zack Weinberg |
Subject: |
Re: [PATCH] python: prioritize python 3.x over 2.x |
Date: |
Wed, 26 Jan 2022 10:07:26 -0500 |
User-agent: |
Cyrus-JMAP/3.5.0-alpha0-4585-ga9d9773056-fm-20220113.001-ga9d97730 |
On Wed, Jan 26, 2022, at 6:37 AM, Mike Frysinger wrote:
> Since Python 2.x went EOL years ago, stop searching for it before
> any of the Python 3 versions.
+1
> m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
> -[python python2 python3 dnl
> +[python python3 dnl
> python3.15 python3.14 python3.13 python3.12 python3.11 python3.10 dnl
> python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 dnl
> python3.2 python3.1 python3.0 dnl
> + python2 dnl
> python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 dnl
> python2.0])
Please also move the plain "python" command down to the python2 block (right
after "python2" would be the best place I think). Any system on which "python"
runs Python 3 is grossly misconfigured.
zw
[PATCH v2] python: prioritize python 3.x over 2.x, Mike Frysinger, 2022/01/27