This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC v6 01/23] math/gen-libm-test.py: Convert to Python 3
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Alistair Francis <alistair dot francis at wdc dot com>
- Cc: <libc-alpha at sourceware dot org>, <arnd at arndb dot de>, <adhemerval dot zanella at linaro dot org>, <fweimer at redhat dot com>, <palmerdabbelt at google dot com>, <macro at wdc dot com>, <zongbox at gmail dot com>, <alistair23 at gmail dot com>
- Date: Sun, 12 Jan 2020 14:46:29 +0000
- Subject: Re: [RFC v6 01/23] math/gen-libm-test.py: Convert to Python 3
- Ironport-sdr: Qk+DLrM4UcqEKxQmkGlZaQN27KkzlgbhaNvMWLI82PSfGnDaGXDqTJqS0c0z70Khi9vFzmfSrz GYwGKheuyT2eyCyphRv+HDBzAGQVVV8ldwOkU766JmCMRX8bBFwl0bsY/tI8Lcj3j+9GLAreiq J8VXkOVouXZF0zPE35tcSHQp6D2oFKkhwdE3gk9Yhsqk2r+HTDOASs8DnkuTOXWM/V4MnRXXHa iy5ITQTsz+ocxxRjVkWWQ2N6VrfMUQKBYA3Kkon6I20JynkFnN+c58NKvBstYYsVq99IAApgCI REU=
- Ironport-sdr: ccAu8YrKk11pCMaHYGofOuYI/q6Hyf9k6bBk70EKI7CwfQMHrwMuqymvu3DDzkr0c6NELUFQZX Wc2T10Y8NoWG+JnpMo4aFV4u06wLcXJvrmxvEY7t8eqvsZkR+x2H1gsxY+76e/PzDugcjZanUT 3nmG9k/clKo22EAZv0vsAhc4y7RVc3Y/b5JTg8J3rgcfGBskli34HD/LJWvehXLgS7RyQgZASs cA73wLFnSGa3g/ZmlKgGlfgy7tLSo0Mn6KmiIZQiRzbh4lfSsYa7uUK2MW0NoDEFmgnfHJmLnU 3fg=
- References: <cover.1578824547.git.alistair.francis@wdc.com> <aae283ad32728367c2d5da8c808830dca38ab658.1578824547.git.alistair.francis@wdc.com>
On Sun, 12 Jan 2020, Alistair Francis wrote:
> Convert to explicity use Python 3. This was tested by using the script
> (with Python 3) to generate the RV32 libm-test-ulps.
There are several .py scripts in the source tree that reference
/usr/bin/python. It doesn't normally matter because the makefiles
explicitly use $(PYTHON), but I think you should change all ten such .py
files at once to refer to python3.
--
Joseph S. Myers
joseph@codesourcery.com