From 1b891c93de9311ec3fe1ab42ac14d872534b2747 Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" Date: Mon, 30 Mar 2020 18:52:54 -0700 Subject: [PATCH] Add C99 Flexible Array Member to the feature list. https://en.wikipedia.org/wiki/Flexible_array_member Required to fix undefined C behavior. https://bugs.python.org/issue40120 --- pep-0007.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pep-0007.txt b/pep-0007.txt index 4278e4c12bf..44c313b3b39 100644 --- a/pep-0007.txt +++ b/pep-0007.txt @@ -46,6 +46,8 @@ C dialect - intermingled declarations - booleans - C++-style line comments + - Flexible array member ``char spam[];`` syntax for the last member + in variable length structs (Python 3.9 or later). Future C99 features may be added to this list in the future depending on compiler support (mostly significantly MSVC).