Index: Python-3.4.0rc2/Include/unicodeobject.h =================================================================== --- Python-3.4.0rc2.orig/Include/unicodeobject.h +++ Python-3.4.0rc2/Include/unicodeobject.h @@ -343,6 +343,8 @@ typedef struct { the data pointer is filled out. The bit is redundant, and helps to minimize the test in PyUnicode_IS_READY(). */ unsigned int ready:1; + /* Pad out to 32 bits to force alignment. */ + unsigned int :24; } state; wchar_t *wstr; /* wchar_t representation (null-terminated) */ } PyASCIIObject; Index: Python-3.4.0rc2/Lib/test/test_sys.py =================================================================== --- Python-3.4.0rc2.orig/Lib/test/test_sys.py +++ Python-3.4.0rc2/Lib/test/test_sys.py @@ -941,7 +941,7 @@ class SizeofTest(unittest.TestCase): samples = ['1'*100, '\xff'*50, '\u0100'*40, '\uffff'*100, '\U00010000'*30, '\U0010ffff'*100] - asciifields = "nnbP" + asciifields = "nn4bP" compactfields = asciifields + "nPn" unicodefields = compactfields + "P" for s in samples: