diff options
author | Petr Viktorin <encukou@gmail.com> | 2022-08-29 11:10:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-29 11:10:52 (GMT) |
commit | b2714f05c5cc8765178f296f0f8043410e3a5584 (patch) | |
tree | 60fae1d076fc5440253029f45dbf91f784e5a3aa | |
parent | bf9259776dff5348bc854983409ea68618c1f174 (diff) | |
download | cpython-b2714f05c5cc8765178f296f0f8043410e3a5584.zip cpython-b2714f05c5cc8765178f296f0f8043410e3a5584.tar.gz cpython-b2714f05c5cc8765178f296f0f8043410e3a5584.tar.bz2 |
gh-90814: Correct NEWS wording re. optional C11 features (GH-96309)
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.
-rw-r--r-- | Doc/whatsnew/3.11.rst | 3 | ||||
-rw-r--r-- | Misc/NEWS.d/3.11.0a6.rst | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 2159a31..7c72ef4 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -1619,7 +1619,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. diff --git a/Misc/NEWS.d/3.11.0a6.rst b/Misc/NEWS.d/3.11.0a6.rst index 24fc5f0..68b80e4 100644 --- a/Misc/NEWS.d/3.11.0a6.rst +++ b/Misc/NEWS.d/3.11.0a6.rst @@ -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. .. |