From a44e57cbbef2a6be6dddf6b7c268fd17ef6df970 Mon Sep 17 00:00:00 2001 From: Sergey B Kirpichev Date: Thu, 4 Sep 2025 12:44:13 +0300 Subject: [PATCH] gh-138336: find build bots, testing 15-bit case for PyLong's --- Include/cpython/longintrepr.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Include/cpython/longintrepr.h b/Include/cpython/longintrepr.h index 4b6f97a5e475d6..6ac5351358fd1c 100644 --- a/Include/cpython/longintrepr.h +++ b/Include/cpython/longintrepr.h @@ -48,6 +48,7 @@ typedef int64_t stwodigits; /* signed variant of twodigits */ #define _PyLong_DECIMAL_SHIFT 9 /* max(e such that 10**e fits in a digit) */ #define _PyLong_DECIMAL_BASE ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */ #elif PYLONG_BITS_IN_DIGIT == 15 +#error "Boo!" typedef unsigned short digit; typedef short sdigit; /* signed variant of digit */ typedef unsigned long twodigits;