[Numpy-discussion] object members

Martin Wiechert martin.wiechert at gmx.de
Mon Feb 27 05:47:00 EST 2006


Hi developers,

any plans on when object members will be back?

a = ndarray (shape = (10,), dtype = {'names': ['x'], 'formats': ['|O4']})
TypeError: fields with object members not yet supported.

in numpy 0.9.5.
Of course, this is better than the segfault in 0.9.4, but it would be quite 
inconvenient for my project to not have object members.

My C code still produces dtypes with object members. Can I safely use them, as 
long as I make sure new arrays are properly initialised?

Thanks,
Martin.




More information about the NumPy-Discussion mailing list