[Numpy-discussion] Setting numpy record array elements

Sameer DCosta sameerslists@gmail....
Mon Aug 20 18:26:30 CDT 2007

On 8/20/07, Stefan van der Walt <stefan@sun.ac.za> wrote:
> This looks like a bug, since
> a[0][0] = 0
> works fine.  I'll take a closer look and make sure.

Thanks Stefan for offering to take a closer look. I have attached a
patch against the latest svn which fixes this problem.

Both this patched version and the current subversion source do not
throw an AttributeError exception if you do something like

a[0].non_existent_column = 10

That is a different  problem that probably should be fixed.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: numpy_patch.svn.diff
Type: application/octet-stream
Size: 987 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20070820/4d1be907/attachment.obj 

More information about the Numpy-discussion mailing list