Content-Length: 295375 | pFad | https://github.com/python/cpython/issues/91731

4E Build Python with C11 · Issue #91731 · python/cpython · GitHub
Skip to content

Build Python with C11 #91731

@vstinner

Description

@vstinner

PEP 7 was recently updated to require a C11 compiler (without optional features) to build Python. I propose to now implement this new requirement:

  • Build Python with -std=c11 rather than -std=c99
  • Use static_assert() of <assert.h>

It's already documented in What's New in Python 3.11:

Building Python now requires a C11 compiler without optional C11 features. (Contributed by Victor Stinner in bpo-46656.

https://docs.python.org/dev/whatsnew/3.11.html#build-changes

Metadata

Metadata

Assignees

Labels

type-bugAn unexpected behavior, bug, or errortype-featureA feature request or enhancement

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: https://github.com/python/cpython/issues/91731

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy