Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b2714f0

Browse files
authored
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.
1 parent bf92597 commit b2714f0

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Doc/whatsnew/3.11.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1619,7 +1619,8 @@ Changes in the Python API
16191619
Build Changes
16201620
=============
16211621

1622-
* Building Python now requires a C11 compiler without optional C11 features.
1622+
* Building Python now requires a C11 compiler. Optional C11 features are not
1623+
required.
16231624
(Contributed by Victor Stinner in :issue:`46656`.)
16241625

16251626
* 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)