[Numpy-discussion] PyArray_DescrConverter - alignment / trailing unused bytes

Martin Wiechert martin.wiechert at gmx.de
Fri Sep 15 09:13:41 CDT 2006


Hi list,

I'm using PyArray_DescrConverter with a dict object to create a "struct-like" 
dtype from C.
As the struct contains different data types I run into "unaligned access" 
problems.
Is there a way to force alignment or to get trailing unused bytes in the 
dtpye?

Thanks, Martin




More information about the Numpy-discussion mailing list