]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-90814: Correct NEWS wording re. optional C11 features (GH-96309) (GH-96384)
authorPetr Viktorin <encukou@gmail.com>
Mon, 29 Aug 2022 11:27:37 +0000 (13:27 +0200)
committerGitHub <noreply@github.com>
Mon, 29 Aug 2022 11:27:37 +0000 (13:27 +0200)
The previous wording of this entry suggests that CPython
won't work if optional compiler features are enabled.
That's not the case. The change is that we require C11 rather
than C89.

Note that PEP 7 does say "Python 3.11 and newer versions use C11
without optional features." It is correct there: that's
not a guide for users who compile Python, but for CPython devs
who must avoid the features.

Doc/whatsnew/3.11.rst
Misc/NEWS.d/3.11.0a6.rst

index 51ce7da47ae2d793efab86316f9ab8fb832be58d..bdeaf6ebc7f5227f2f541e14c090359615ccb888 100644 (file)
@@ -1607,7 +1607,8 @@ Changes in the Python API
 Build Changes
 =============
 
-* Building Python now requires a C11 compiler without optional C11 features.
+* Building Python now requires a C11 compiler. Optional C11 features are not
+  required.
   (Contributed by Victor Stinner in :issue:`46656`.)
 
 * Building Python now requires support of IEEE 754 floating point numbers.
index 24fc5f05666a636cbf0857512db12a875e6e71d0..68b80e46690dc90b636370b292eee6a1ae5c8d68 100644 (file)
@@ -1043,7 +1043,8 @@ Respect `--with-suffix` when building on case-insensitive file systems.
 .. nonce: MD783M
 .. section: Build
 
-Building Python now requires a C11 compiler without optional C11 features.
+Building Python now requires a C11 compiler. Optional C11 features are not
+required.
 Patch by Victor Stinner.
 
 ..