From 5f8b5e2f2150d2223ff9e286bd146de92ff16865 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 25 Feb 2022 01:31:30 +0100 Subject: [PATCH] bpo-46656: Building Python now requires a C11 compiler (GH-31557) See PEP 7: https://python.github.io/peps/pep-0007/#c-dialect --- Doc/whatsnew/3.11.rst | 3 +++ .../NEWS.d/next/Build/2022-02-25-00-51-16.bpo-46656.MD783M.rst | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 Misc/NEWS.d/next/Build/2022-02-25-00-51-16.bpo-46656.MD783M.rst diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 9744051ede6..c717aad9c87 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -618,6 +618,9 @@ Changes in the Python API Build Changes ============= +* Building Python now requires a C11 compiler without optional C11 features. + (Contributed by Victor Stinner in :issue:`46656`.) + * CPython can now be built with the ThinLTO option via ``--with-lto=thin``. (Contributed by Dong-hee Na and Brett Holman in :issue:`44340`.) diff --git a/Misc/NEWS.d/next/Build/2022-02-25-00-51-16.bpo-46656.MD783M.rst b/Misc/NEWS.d/next/Build/2022-02-25-00-51-16.bpo-46656.MD783M.rst new file mode 100644 index 00000000000..f5b789b23ee --- /dev/null +++ b/Misc/NEWS.d/next/Build/2022-02-25-00-51-16.bpo-46656.MD783M.rst @@ -0,0 +1,2 @@ +Building Python now requires a C11 compiler without optional C11 features. +Patch by Victor Stinner.