This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Convert all Python scripts to Python 3
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Zack Weinberg <zackw at panix dot com>
- Cc: Alistair Francis <alistair23 at gmail dot com>, Alistair Francis <alistair dot francis at wdc dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 6 Feb 2020 21:20:09 +0000
- Subject: Re: [PATCH] Convert all Python scripts to Python 3
- Ironport-sdr: usPXCUAMT9m07dG2CAwJ5XRJQkSagr7prnb9iDCV68F91Svdz5W8ydSRoA263gao05SiONWhvI k4xAJZ8wB1uU2OD3Msu0pnW+x9ohLiU8gm7/SmBlZv/UnC5RHlR67N/4yYkLnxFDwc49ewqE8B WA+pnWQYXvDlGQxk0jSrn2u3Y7nrp7hZ5HY4iEkbf7WiyXZXr0bTDUGUiP5By5vQBginOXDXBK hwTr6Lea8j38J0oLxddhUJi2Ip+iRWmpy88vBlVJDAH39QvJak0K85puayu0iueNa/mH39N3Oy 298=
- Ironport-sdr: lLRKjmsJUMx/5LdKPhlwKxdlagjglkWvM85hGmGng6D5dbr6hl/cZBJ2s495DPygPon+f5kXxm ILMh5mmRoPoP7MAh2oP0u/5tKV3KyjxqO37+UlPFA/q31MLEG5GInlSHMnMFqulfYDr0fQ/vZh Pb2kjNGOBf0kKJavXLVywesu+Z6YLRXO6a9WM/ByiL75XWc4KO+L9ozwLJZ53dnO374r/GH9Rb 6pKrbm4eQLSp8kNfjmpdeVdBYKt4vX0ms3JFV6Hm0wrPfADZ2GjMo35RRXb8DYkeq3RQHOl9wT +vo=
- References: <20200131170322.25332-1-alistair.francis@wdc.com> <CAKCAbMgh7YrF7FJO38mKAnyhG+Jy_M+g7KQtuGG1Cyj0_LFQpw@mail.gmail.com> <CAKmqyKNe-eJpBOPpQqsy7OX8Yh0h6pwYt_Nc8Zx59M=ZzEvAUg@mail.gmail.com> <CAKCAbMiWER78VRdsr_hz0HToXdPN9VOC2KCX1g-x2zqEY+h-Cg@mail.gmail.com>
On Tue, 4 Feb 2020, Zack Weinberg wrote:
> I may have misunderstood the situation. I thought we were allowing
> use of either Python 2 or 3 for these scripts, but on further
> investigation, it looks more like we were already requiring them to be
> run with v3. If so, your proposed change does not need testing,
> because they must already work with v3. Joseph, you've been
> spearheading a lot of the use of Python - can you confirm that Python
> 3 is already being used for all these scripts?
All the Python scripts run from the makefiles are run with Python 3.
Of the others, I confirmed when I wrote math/gen-tgmath-tests.py that it
worked with both Python 2 and Python 3; I haven't tried those benchtests/
scripts not run from the makefiles.
--
Joseph S. Myers
joseph@codesourcery.com