COMMITS
/ Include/pymacro.h December 5, 2025
S
gh-141370: Fix undefined behavior when using Py_ABS() (GH-141548)
Serhiy Storchaka committed
August 26, 2025
P
gh-138143: Allow anonymous unions in public headers, using `_Py_ANONYMOUS` (GH-137283)
Petr Viktorin committed
June 25, 2025
K
gh-135927: Fix MSVC Clatest C builds (GH-135935)
Ken Jin committed
June 11, 2025
P
gh-127545: Add _Py_ALIGNED_DEF(N, T) and use it for PyObject (GH-135209)
Petr Viktorin committed
May 28, 2025
P
gh-128629: Add _Py_PACK_VERSION for CPython's own definitions (GH-134247)
Petr Viktorin committed
May 2, 2025
P
gh-128972: Add `_Py_ALIGN_AS` and revert `PyASCIIObject` memory layout. (GH-133085)
Petr Viktorin committed
January 9, 2025
P
gh-128629: Add Py_PACK_VERSION and Py_PACK_FULL_VERSION (GH-128630)
Petr Viktorin committed
July 21, 2024
J
gh-118124: fix assert related C++ checks on Solaris/Illumos (#121974)
Jakub Kulík committed
June 28, 2024
V
Check for compiler warnings in test_cext on Windows (#121088)
Victor Stinner committed
April 30, 2024
V
gh-118124: Use static_assert() in Py_BUILD_ASSERT() on C11 (#118398)
Victor Stinner committed
January 23, 2024
S
gh-111964: Implement stop-the-world pauses (gh-112471)
Sam Gross committed
July 25, 2023
V
gh-107249: Implement Py_UNUSED() for MSVC (#107250)
Victor Stinner committed
April 5, 2023
J
gh-99069: Consolidate checks for static_assert (#94766)
Joshua Root committed
June 13, 2022
P
gh-91731: Don't define 'static_assert' in C++11 where is a keyword to avoid UB (GH-93700)
Pablo Galindo Salgado committed
May 27, 2022
V
gh-82616: Add Py_IS_TYPE_SIGNED() macro (#93178)
Victor Stinner committed
May 10, 2022
P
gh-91731: Fix typo in pymacro.h (#92618)
Pablo Galindo Salgado committed
May 9, 2022
P
gh-91731: Add macro compatibility for static_assert for old libcs (GH-92559)
Pablo Galindo Salgado committed
April 21, 2022
V
gh-91782: Define static_assert() macro on FreeBSD (#91787)
Victor Stinner committed
November 30, 2021
V
bpo-45476: Add _Py_RVALUE() macro (GH-29860)
Victor Stinner committed
September 28, 2020
D
bpo-41875: Use __builtin_unreachable when possible (GH-22433)
Dong-hee Na committed
March 9, 2020
S
bpo-38249: Expand Py_UNREACHABLE() to __builtin_unreachable() in the release mode. (GH-16329)
Serhiy Storchaka committed
September 20, 2019
V
bpo-38205: Py_UNREACHABLE() calls Py_FatalError() (GH-16290)
Victor Stinner committed
September 12, 2019
Z
Enhance Py_UNREACHABLE macro (GH-16032)
Zachary Ware committed
May 24, 2019
V
Support Py_UNUSED() on clang (GH-13544)
Victor Stinner committed
April 16, 2019
I
bpo-36641: Add "const" to PyDoc_VAR macro (GH-12854)
Inada Naoki committed
September 15, 2017
B
bpo-31338 (#3374)
Barry Warsaw committed
March 29, 2017
N
bpo-29936: fix typo __GNU*C*_MINOR__ (#878)
Niklas Fiekas committed
September 8, 2016
V
Add Py_MEMBER_SIZE macro
Victor Stinner committed
September 6, 2016
B
replace Py_(u)intptr_t with the c99 standard types
Benjamin Peterson committed
November 7, 2015
S
Issue #25558: Use compile-time asserts.
Serhiy Storchaka committed
May 14, 2014
V
Issue #21490: Add new C macros: Py_ABS() and Py_STRINGIFY()
Victor Stinner committed
January 4, 2014
L
Issue #19976: Argument Clinic METH_NOARGS functions now always
Larry Hastings committed
June 24, 2013
C
Fix test for GCC 3.1+ but not strict ANSI C
Christian Heimes committed
January 6, 2013
C
Issue #16881: Fix Py_ARRAY_LENGTH macro for GCC < 3.1.
Christian Heimes committed
September 23, 2012
C
GCC doesn't support typeof in strict ansi mode (e.g. -ansi or -std=c89)
Christian Heimes committed
September 20, 2012
September 29, 2011
V
Rename Py_BUILD_ASSERT to Py_BUILD_ASSERT_EXPR
Victor Stinner committed
V
pymacro.h: Inline _Py_ARRAY_LENGTH_CHECK() and add http://ccodearchive.net/
Victor Stinner committed
September 28, 2011
V
Enhance Py_ARRAY_LENGTH(): fail at build time if the argument is not an array
Victor Stinner committed