[Python-Dev] (some) C99 added to PEP 7 (original) (raw)

Martin Panter vadmium+py at gmail.com
Wed Sep 7 18:58:28 EDT 2016


Thank you very much Benjamin.

On 7 September 2016 at 17:56, Benjamin Peterson <benjamin at python.org> wrote:

To conclude our discussion about using C99 features, I've updated PEP 7 to allow the following features: - Standard integer types in <stdint.h> and <inttypes.h>

Perhaps PEP 7 should clarify if the optional types like uint32_t are allowed, or only C99 mandatory types like uint_fast32_t etc. I think more people will be familiar with the fixed-width uint32_t etc. I know they are mandatory in Posix, and presumably also Windows, so they may be okay.

- static inline functions - designated initializers - intermingled declarations - booleans

I've been adding examples of these to 3.6 over the last few days to make sure the buildbots will like it. https://github.com/python/peps/commit/b6efe6e06fa70e8933440da26474a804fb3edb6e Enjoy.



More information about the Python-Dev mailing list