summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-02-25 00:31:30 (GMT)
committerGitHub <noreply@github.com>2022-02-25 00:31:30 (GMT)
commit5f8b5e2f2150d2223ff9e286bd146de92ff16865 (patch)
treecb822686cf7f8a89d294bae0db89689c8d0697b5
parent9475dc0b8d2a0db40278bbcb88a89b1265a77ec9 (diff)
downloadcpython-5f8b5e2f2150d2223ff9e286bd146de92ff16865.zip
cpython-5f8b5e2f2150d2223ff9e286bd146de92ff16865.tar.gz
cpython-5f8b5e2f2150d2223ff9e286bd146de92ff16865.tar.bz2
bpo-46656: Building Python now requires a C11 compiler (GH-31557)
See PEP 7: https://python.github.io/peps/pep-0007/#c-dialect
-rw-r--r--Doc/whatsnew/3.11.rst3
-rw-r--r--Misc/NEWS.d/next/Build/2022-02-25-00-51-16.bpo-46656.MD783M.rst2
2 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst
index 9744051..c717aad 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 0000000..f5b789b
--- /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.