----- Original Message -----
> From: "Mark Shannon" <[email protected]>
> To: "Python Dev" <[email protected]>
> Sent: Thursday, January 28, 2021 5:26:37 PM
> Subject: [Python-Dev] Why aren't we allowing the use of C11?
>
> Hi everyone,
>
> PEP 7 says that C code should conform to C89 with a subset of C99 allowed.
> It's 2021 and all the major compilers support C11 (ignoring the optional
> parts).
>
> C11 has support for thread locals, static asserts, and anonymous structs
> and unions. All useful features.
>
> Is there a good reason not to start using C11 now?
>
> Cheers,
> Mark.
>
>
> _______________________________________________
> Python-Dev mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3/lists/python-dev.python.org/
> Message archived at
> https://mail.python.org/archives/list/[email protected]/message/PLXETSQE7PRFXBXN2QY6VNPKUTM6I7OD/
> Code of Conduct: http://python.org/psf/codeofconduct/
>
>
Depends what platforms the python core developers are willing to support.
Currently downstream on e.g. RHEL7 we compile versions of CPython under gcc
4.8.2 which does not support C11.
In addition the manylinux2014 base image is also based on CentOS 7, which
wouldn't support C11 as well.
--
Regards,
Charalampos Stratakis
Software Engineer
Python Maintenance Team, Red Hat
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/PCOZN5NHNZ7HIANOKQQ7GQQMV3A3JF72/
Code of Conduct: http://python.org/psf/codeofconduct/