1 diff -Naur Python_old/Include/objimpl.h Python/Include/objimpl.h
2 --- Python_old/Include/objimpl.h 2021-09-22 13:45:20.116037197 +0200
3 +++ Python/Include/objimpl.h 2021-09-22 13:46:05.444683399 +0200
5 union _gc_head *gc_prev;
8 - double dummy; /* force worst-case alignment */
9 + long double dummy; /* force worst-case alignment */
12 extern PyGC_Head *_PyGC_generation0;
13 diff -Naur Python_old/Objects/obmalloc.c Python/Objects/obmalloc.c
14 --- Python_old/Objects/obmalloc.c 2018-03-28 11:19:31.000000000 +0200
15 +++ Python/Objects/obmalloc.c 2021-09-22 13:46:32.901074624 +0200
18 * You shouldn't change this unless you know what you are doing.
20 -#define ALIGNMENT 8 /* must be 2^N */
21 -#define ALIGNMENT_SHIFT 3
22 +#define ALIGNMENT 16 /* must be 2^N */
23 +#define ALIGNMENT_SHIFT 4
25 /* Return the number of bytes in size class I, as a uint. */
26 #define INDEX2SIZE(I) (((uint)(I) + 1) << ALIGNMENT_SHIFT)