8000 gh-90814: Correct NEWS wording re. optional C11 features (GH-96309) · encukou/cpython@d7bea49 · GitHub
[go: up one dir, main page]

Skip to content

Commit d7bea49

Browse files
committed
pythongh-90814: Correct NEWS wording re. optional C11 features (pythonGH-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.
1 parent 2ba8772 commit d7bea49

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Doc/whatsnew/3.11.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1607,7 +1607,8 @@ Changes in the Python API
16071607
Build Changes
16081608
=============
16091609

1610-
* Building Python now requires a C11 compiler without optional C11 features.
1610+
* Building Python now requires a C11 compiler. Optional C11 features are not
1611+
required.
16111612
(Contributed by Victor Stinner in :issue:`46656`.)
16121613

16131614
* Building Python now requires support of IEEE 754 floating point numbers.

Misc/NEWS.d/3.11.0a6.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,8 @@ Respect `--with-suffix` when building on case-insensitive file systems.
10431043
.. nonce: MD783M
10441044
.. section: Build
10451045
1046-
Building Python now requires a C11 compiler without optional C11 features.
1046+
Building Python now requires a C11 compiler. Optional C11 features are not
1047+
required.
10471048
Patch by Victor Stinner.
10481049

10491050
..

0 commit comments

Comments
 (0)
0