]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-129666: Add C11/C++11 to docs and -pedantic-errors to GCC/clang test_c[pp]ext...
authorPetr Viktorin <encukou@gmail.com>
Tue, 4 Mar 2025 13:10:09 +0000 (14:10 +0100)
committerGitHub <noreply@github.com>
Tue, 4 Mar 2025 13:10:09 +0000 (14:10 +0100)
commitd91cc9db155024b0a221cf32f4f49617544618bf
tree405a618c801aeb2d9120887a2001b19050c5db0f
parent6c48ed7d62c6ca0eb24935b0e612f9e4a1a3b1bc
gh-129666: Add C11/C++11 to docs and -pedantic-errors to GCC/clang test_c[pp]ext tests (GH-130692)

Disable pedantic check for c++03 (unlimited API)

Also add a check for c++03 *limited* API, which passes in pedantic mode
after removing a comma in the `PySendResult` declaration, and allowing
`long long`.
Doc/c-api/intro.rst
Include/object.h
Lib/test/test_cext/__init__.py
Lib/test/test_cext/extension.c
Lib/test/test_cext/setup.py
Lib/test/test_cppext/__init__.py
Lib/test/test_cppext/extension.cpp
Lib/test/test_cppext/setup.py