Segfault on byteswap() on recarrays
18 Sep
2006
18 Sep
'06
7:57 p.m.
Hi,
I noticed this works:
In [5]:a = array((1,), dtype=[('one', '
18 Sep
18 Sep
8:53 p.m.
Matthew Brett wrote:
Hi,
I noticed this works:
In [5]:a = array((1,), dtype=[('one', '
In [6]:a.byteswap() Out[6]: array((16777216,), dtype=[('one', '
But, extending the recarray leads to a segfault on byteswapping:
In [8]:a = array((1, 2), dtype=[('one', '
In [9]:a.byteswap() Segmentation fault
Great catch. Fixed in SVN. -Travis
6429
Age (days ago)
6429
Last active (days ago)
1 comments
2 participants
participants (2)
-
Matthew Brett
-
Travis Oliphant