[Python-Dev] Can we use "designated initializer" widely in coremodules?

Benjamin Peterson benjamin at python.org
Wed Jan 18 02:45:23 EST 2017



On Tue, Jan 17, 2017, at 15:34, Paul Moore wrote:
> On 17 January 2017 at 20:02, Steve Dower <steve.dower at python.org> wrote:
> > Avoiding header files would be my only request. As Brett says, the C99
> > requirement should not be enforced on all embedders or extenders, so we
> > should try and keep the headers they'll use as compatible as possible.
> 
> Agreed, we probably shouldn't require users of Python.h to be
> C99-compliant. (Disclaimer: I have no idea how many compilers *don't*
> implement this feature).

We already require it through the use of several C99 features in headers
such as // comments and <stdint.h>. I agree they should be compatible
with C++, though.


More information about the Python-Dev mailing list