[Numpy-discussion] record descriptors: trailing unused bytes

Martin Wiechert martin.wiechert at gmx.de
Sun Sep 17 13:17:09 CDT 2006


Hi list,

does anybody know, if in C in the PyArray_Descr struct it is safe to manually 
change descr->elsize and descr->alignment as long as these are compatible and 
descr->elsize is large enough to hold all fields? Of course I mean before any 
array is constructed using descr.

Thanks, Martin.




More information about the Numpy-discussion mailing list