On Thu, Jan 28, 2021 at 8:31 AM Mark Shannon <m...@hotpy.org> wrote:

> 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?
>

Depends on compiler support. I would say that if clang, gcc, and MSVC all
support it then we should consider switching, but if any of them are
lagging we would need to find the common base line (hence why the subset of
C99 when we last talked about this).
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/6QFPY3YHZELZDUULAFLA5I3FR4K3NIBE/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to