This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gregory.p.smith
Recipients gregory.p.smith
Date 2020-03-30.21:13:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1585602790.24.0.94321459352.issue40120@roundup.psfhosted.org>
In-reply-to
Content
From the PR comment thread (as I opened that first):

"""Well, there was no other choice in ISO C89 than using char ob_sval[1];, no?

Is char ob_sval[]; supported by the C compiler supported by CPython? Like Visual Studio, GCC, clang and xlc (AIX)? (I don't think that we officially support xlc, but it's more "best effort" support.)

You can use the new buildbot label to test you change on more platforms.""" - vstinner

Per https://www.python.org/dev/peps/pep-0007/ we require some C99 features as of CPython 3.6.  It does not currently list Flexible array member.

I'll be very surprised if we find any compiler that does not support this.

I'll run this through the buildbot testing as you suggested and assuming nothing important falls out, see that we add this to the C99 required feature list.
History
Date User Action Args
2020-03-30 21:13:10gregory.p.smithsetrecipients: + gregory.p.smith
2020-03-30 21:13:10gregory.p.smithsetmessageid: <1585602790.24.0.94321459352.issue40120@roundup.psfhosted.org>
2020-03-30 21:13:10gregory.p.smithlinkissue40120 messages
2020-03-30 21:13:10gregory.p.smithcreate