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

Benjamin Peterson benjamin at python.org
Wed Sep 7 17:50:44 EDT 2016


One more thing I forgot: C++-style line comments are kosher, too.

On Wed, Sep 7, 2016, at 10:56, Benjamin Peterson 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>``
> - ``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